Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 174.1 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7313/0.7313, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008643, allocations: 89.98 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.013e-05/4.023e-05, allocations: 6.672 kB / 0.5601 GB, free: 87.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1566, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5791/0.7357, allocations: 111.7 MB / 0.7496 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.736, allocations: 79.16 kB / 0.7497 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006376/0.7424, allocations: 2.302 MB / 0.7519 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7424, allocations: 0 / 0.7519 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.7424, allocations: 0 / 0.7519 GB, free: 27.67 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002846/0.7427, allocations: 341.6 kB / 0.7522 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.7428, allocations: 15.62 kB / 0.7523 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.7428, allocations: 30.56 kB / 0.7523 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.7429, allocations: 0.7812 kB / 0.7523 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.743, allocations: 165.7 kB / 0.7524 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.743, allocations: 0.75 kB / 0.7524 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.743, allocations: 3.844 kB / 0.7525 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.7431, allocations: 33.23 kB / 0.7525 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7431, allocations: 0 / 0.7525 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.7431, allocations: 4 kB / 0.7525 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7431, allocations: 0 / 0.7525 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.7432, allocations: 7.781 kB / 0.7525 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.7433, allocations: 160.1 kB / 0.7526 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.7434, allocations: 26.2 kB / 0.7527 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.7434, allocations: 8.672 kB / 0.7527 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.7434, allocations: 2.766 kB / 0.7527 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.7435, allocations: 41.88 kB / 0.7527 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.7435, allocations: 0 / 0.7527 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001163/0.7436, allocations: 33.42 kB / 0.7528 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.7436, allocations: 55.34 kB / 0.7528 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.7437, allocations: 95.44 kB / 0.7529 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.7437, allocations: 25.7 kB / 0.7529 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.7437, allocations: 80.3 kB / 0.753 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.7438, allocations: 7.906 kB / 0.753 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.7438, allocations: 0 / 0.753 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.7439, allocations: 322.2 kB / 0.7533 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.7439, allocations: 3.938 kB / 0.7533 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.7439, allocations: 3.75 kB / 0.7533 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.7439, allocations: 2.625 kB / 0.7533 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7439, allocations: 0 / 0.7533 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.99e-05/0.744, allocations: 37.17 kB / 0.7534 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.744, allocations: 7.406 kB / 0.7534 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.744, allocations: 0 / 0.7534 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7441, allocations: 2.953 kB / 0.7534 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7442, allocations: 11.31 kB / 0.7534 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00032/0.7446, allocations: 0.586 MB / 0.754 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.7446, allocations: 3.953 kB / 0.754 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.7446, allocations: 0 / 0.754 GB, free: 25.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.7447, allocations: 109 kB / 0.7541 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.7447, allocations: 2.578 kB / 0.7541 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.7448, allocations: 46.19 kB / 0.7541 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.7448, allocations: 0 / 0.7541 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7448, allocations: 0 / 0.7541 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7448, allocations: 3.875 kB / 0.7541 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.7449, allocations: 151.5 kB / 0.7543 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7449, allocations: 0 / 0.7543 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.745, allocations: 14.36 kB / 0.7543 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.745, allocations: 3.938 kB / 0.7543 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.745, allocations: 3.906 kB / 0.7543 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002703/0.7453, allocations: 0.5849 MB / 0.7548 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7453, allocations: 0 / 0.7548 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.348e-05/0.7454, allocations: 74.31 kB / 0.7549 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.7454, allocations: 77.11 kB / 0.755 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.7454, allocations: 2.344 kB / 0.755 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.7454, allocations: 0 / 0.755 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.7455, allocations: 3.953 kB / 0.755 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.7455, allocations: 3.844 kB / 0.755 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.699e-05/0.7455, allocations: 75.28 kB / 0.7551 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7455, allocations: 0 / 0.7551 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001857/0.7457, allocations: 13.75 kB / 0.7551 GB, free: 24.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003579/0.7461, allocations: 0.6219 MB / 0.7557 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.7462, allocations: 13.95 kB / 0.7557 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7462, allocations: 0 / 0.7557 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.7463, allocations: 20.66 kB / 0.7557 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.7464, allocations: 5.453 kB / 0.7557 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.7467, allocations: 85.03 kB / 0.7558 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.7469, allocations: 0.6821 MB / 0.7565 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.477e-05/0.7469, allocations: 3.938 kB / 0.7565 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.747, allocations: 11.41 kB / 0.7565 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.747, allocations: 3.938 kB / 0.7565 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.7602, allocations: 1.13 MB / 0.7576 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.7604, allocations: 214.9 kB / 0.7578 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.287, allocations: 0 / 0.7578 GB, free: 22.5 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)