Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005245/0.005245, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6914/0.6914, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 68.09 kB / 0.5809 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1545, allocations: 80.2 MB / 0.6592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002531/0.157, allocations: 1.633 MB / 0.6608 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1588, allocations: 1.479 MB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.1589, allocations: 4 kB / 0.6623 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1593, allocations: 55.69 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1595, allocations: 55.77 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1597, allocations: 113.8 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1599, allocations: 163.6 kB / 0.6626 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.16, allocations: 8.219 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.1601, allocations: 75.69 kB / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1602, allocations: 67.75 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1602, allocations: 8 kB / 0.6628 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1604, allocations: 67.97 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.1604, allocations: 47.83 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.1605, allocations: 55.66 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1608, allocations: 194.3 kB / 0.6631 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1608, allocations: 0 / 0.6631 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.956e-06/0.1608, allocations: 7.922 kB / 0.6631 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1608, allocations: 0 / 0.6631 GB, free: 9.82 MB / 0.4981 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.0005692/0.1614, allocations: 467.5 kB / 0.6636 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1614, allocations: 8.031 kB / 0.6636 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.1615, allocations: 34.75 kB / 0.6636 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1615, allocations: 16.75 kB / 0.6636 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.1619, allocations: 267.5 kB / 0.6639 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1619, allocations: 8 kB / 0.6639 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1619, allocations: 11.98 kB / 0.6639 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1621, allocations: 115.3 kB / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1622, allocations: 0 / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1622, allocations: 0 / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1622, allocations: 4 kB / 0.664 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.1624, allocations: 143.8 kB / 0.6642 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.1626, allocations: 237.4 kB / 0.6644 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.163, allocations: 174.5 kB / 0.6646 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.1631, allocations: 52.84 kB / 0.6646 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1631, allocations: 7.984 kB / 0.6646 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.1633, allocations: 103.4 kB / 0.6647 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1633, allocations: 4 kB / 0.6647 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004455/0.1638, allocations: 223.2 kB / 0.6649 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1639, allocations: 81.11 kB / 0.665 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1641, allocations: 212.1 kB / 0.6652 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1641, allocations: 29.7 kB / 0.6652 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.1642, allocations: 112.1 kB / 0.6653 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.1642, allocations: 43.44 kB / 0.6654 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1643, allocations: 33.7 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.1644, allocations: 334.8 kB / 0.6657 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.1645, allocations: 51.97 kB / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1646, allocations: 78.48 kB / 0.6659 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1648, allocations: 132.3 kB / 0.666 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1648, allocations: 0 / 0.666 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002751/0.1651, allocations: 185.5 kB / 0.6662 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1651, allocations: 8 kB / 0.6662 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1651, allocations: 0 / 0.6662 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1651, allocations: 0 / 0.6662 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1652, allocations: 35.92 kB / 0.6662 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1652, allocations: 0 / 0.6662 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.1653, allocations: 11.84 kB / 0.6662 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1653, allocations: 4 kB / 0.6662 GB, free: 6.395 MB / 0.4981 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.1654, allocations: 138.4 kB / 0.6664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.1654, allocations: 23.83 kB / 0.6664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.1655, allocations: 25.53 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1655, allocations: 0 / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1655, allocations: 0 / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1655, allocations: 3.984 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1657, allocations: 229.5 kB / 0.6666 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1657, allocations: 4 kB / 0.6666 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.1658, allocations: 19.92 kB / 0.6666 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1658, allocations: 4 kB / 0.6666 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1658, allocations: 4 kB / 0.6667 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1658, allocations: 12 kB / 0.6667 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1658, allocations: 0 / 0.6667 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.1661, allocations: 212.7 kB / 0.6669 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.1662, allocations: 88.95 kB / 0.667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1662, allocations: 8 kB / 0.667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.1663, allocations: 7.984 kB / 0.667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.1663, allocations: 11.98 kB / 0.667 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1663, allocations: 8 kB / 0.667 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000131/0.1665, allocations: 158.9 kB / 0.6671 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1665, allocations: 0 / 0.6671 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.1667, allocations: 40 kB / 0.6672 GB, free: 5.316 MB / 0.4981 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/0.1681, allocations: 1.102 MB / 0.6683 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.1684, allocations: 123.9 kB / 0.6684 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1684, allocations: 0 / 0.6684 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1685, allocations: 59.92 kB / 0.6684 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1688, allocations: 40.02 kB / 0.6685 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1707, allocations: 1.946 MB / 0.6704 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1709, allocations: 0.7124 MB / 0.6711 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.335e-05/0.171, allocations: 49.66 kB / 0.6711 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/0.1711, allocations: 63.41 kB / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1711, allocations: 0 / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.1909, allocations: 4.678 MB / 0.6757 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.173, allocations: 17.23 kB / 0.6758 GB, free: 12.77 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)