Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.002361/0.002361, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7471/0.7471, 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.598/1.598, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0009584/0.0009583, allocations: 97.25 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.508e-05, allocations: 4.688 kB / 0.5602 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1645, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5971/0.7616, allocations: 115 MB / 0.7528 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.7619, allocations: 90.23 kB / 0.7529 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.775, allocations: 5.409 MB / 0.7582 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.775, allocations: 0 / 0.7582 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.775, allocations: 0 / 0.7582 GB, free: 26.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004955/0.7755, allocations: 433.7 kB / 0.7586 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7756, allocations: 11.73 kB / 0.7586 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.7756, allocations: 37.72 kB / 0.7587 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.7757, allocations: 19.53 kB / 0.7587 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.7761, allocations: 251.2 kB / 0.7589 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.7761, allocations: 7.125 kB / 0.7589 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.7761, allocations: 3.906 kB / 0.7589 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.7763, allocations: 126.6 kB / 0.7591 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.7763, allocations: 0 / 0.7591 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.7764, allocations: 0 / 0.7591 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.7764, allocations: 0 / 0.7591 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.7766, allocations: 192.2 kB / 0.7592 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.7769, allocations: 262.9 kB / 0.7595 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.7773, allocations: 196.7 kB / 0.7597 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7775, allocations: 60.53 kB / 0.7597 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.7775, allocations: 7.812 kB / 0.7598 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.7777, allocations: 124.1 kB / 0.7599 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.7777, allocations: 0 / 0.7599 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004074/0.7781, allocations: 190.4 kB / 0.7601 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.7782, allocations: 81.09 kB / 0.7601 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.7785, allocations: 225.5 kB / 0.7603 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.7785, allocations: 28.7 kB / 0.7604 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.7786, allocations: 113 kB / 0.7605 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.7787, allocations: 53.61 kB / 0.7605 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.7787, allocations: 3.375 kB / 0.7605 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7789, allocations: 337.7 kB / 0.7609 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.779, allocations: 58.02 kB / 0.7609 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.7791, allocations: 79.61 kB / 0.761 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.7792, allocations: 61.84 kB / 0.761 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7792, allocations: 0 / 0.761 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003272/0.7795, allocations: 211.4 kB / 0.7612 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.7796, allocations: 11.75 kB / 0.7613 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7796, allocations: 0 / 0.7613 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.7796, allocations: 0 / 0.7613 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.7798, allocations: 34.72 kB / 0.7613 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7798, allocations: 0 / 0.7613 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.7799, allocations: 7.656 kB / 0.7613 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.7799, allocations: 4.141 kB / 0.7613 GB, free: 24.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.987e-05/0.78, allocations: 124.3 kB / 0.7614 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.78, allocations: 15.47 kB / 0.7614 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.7805, allocations: 286.2 kB / 0.7617 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7806, allocations: 0 / 0.7617 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7806, allocations: 0 / 0.7617 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.7806, allocations: 3.984 kB / 0.7617 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.7808, allocations: 280.4 kB / 0.762 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7808, allocations: 0 / 0.762 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.781, allocations: 34.83 kB / 0.762 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.781, allocations: 0 / 0.762 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.781, allocations: 15.08 kB / 0.762 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.781, allocations: 0 / 0.762 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.781, allocations: 0 / 0.762 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.7813, allocations: 259.4 kB / 0.7623 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.7814, allocations: 107.7 kB / 0.7624 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.7815, allocations: 11.27 kB / 0.7624 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.7816, allocations: 7.281 kB / 0.7624 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.7816, allocations: 15.45 kB / 0.7624 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.7816, allocations: 15.27 kB / 0.7624 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001527/0.7818, allocations: 184.7 kB / 0.7626 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7818, allocations: 0 / 0.7626 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000282/0.7821, allocations: 52.17 kB / 0.7627 GB, free: 23.94 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/0.7836, allocations: 1.117 MB / 0.7637 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.7838, allocations: 164.1 kB / 0.7639 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7838, allocations: 0 / 0.7639 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.784, allocations: 86.48 kB / 0.764 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.7842, allocations: 39.25 kB / 0.764 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.7848, allocations: 325.6 kB / 0.7643 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.7852, allocations: 0.7333 MB / 0.765 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.7853, allocations: 48.22 kB / 0.7651 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.7854, allocations: 70.84 kB / 0.7652 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/0.7854, allocations: 0 / 0.7652 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.8073, allocations: 4.973 MB / 0.77 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.8076, allocations: 218.1 kB / 0.7702 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.865, allocations: 0 / 0.7702 GB, free: 19.61 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)