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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005678/0.005678, allocations: 98.25 kB / 15.73 MB, free: 6.055 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.001383/0.001383, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8438/0.8438, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 73.06 kB / 0.5858 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1495, allocations: 81.02 MB / 0.6649 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003102/0.1527, allocations: 1.629 MB / 0.6665 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1549, allocations: 1.483 MB / 0.6679 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.155, allocations: 0 / 0.6679 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.1554, allocations: 51.75 kB / 0.668 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.1556, allocations: 59.69 kB / 0.668 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1558, allocations: 102.4 kB / 0.6681 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1561, allocations: 171.6 kB / 0.6683 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.1561, allocations: 12.23 kB / 0.6683 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1562, allocations: 63.75 kB / 0.6684 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1564, allocations: 63.81 kB / 0.6684 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1565, allocations: 8 kB / 0.6684 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1566, allocations: 67.92 kB / 0.6685 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.1567, allocations: 51.81 kB / 0.6685 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.1568, allocations: 59.59 kB / 0.6686 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1571, allocations: 191.5 kB / 0.6688 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1571, allocations: 0 / 0.6688 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1571, allocations: 0 / 0.6688 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1571, allocations: 8 kB / 0.6688 GB, free: 1.594 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.0006968/0.1578, allocations: 478.2 kB / 0.6692 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1578, allocations: 9.109 kB / 0.6693 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.1579, allocations: 38.75 kB / 0.6693 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.158, allocations: 12.84 kB / 0.6693 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.1584, allocations: 271.3 kB / 0.6696 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1584, allocations: 8 kB / 0.6696 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1584, allocations: 7.984 kB / 0.6696 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.1587, allocations: 115.3 kB / 0.6697 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1588, allocations: 0 / 0.6697 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1588, allocations: 4 kB / 0.6697 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1588, allocations: 3.938 kB / 0.6697 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.1591, allocations: 143.8 kB / 0.6698 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.1593, allocations: 233.5 kB / 0.6701 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1597, allocations: 174.6 kB / 0.6702 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1599, allocations: 48.84 kB / 0.6703 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1599, allocations: 7.984 kB / 0.6703 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.1601, allocations: 115.3 kB / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.644e-06/0.1601, allocations: 0 / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0005094/0.1606, allocations: 221 kB / 0.6706 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.1607, allocations: 85.11 kB / 0.6707 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1609, allocations: 204.1 kB / 0.6709 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.161, allocations: 29.7 kB / 0.6709 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.1611, allocations: 112.1 kB / 0.671 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.1611, allocations: 55.48 kB / 0.6711 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.1612, allocations: 33.7 kB / 0.6711 GB, free: 15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1614, allocations: 330.8 kB / 0.6714 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1615, allocations: 51.97 kB / 0.6715 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1616, allocations: 78.48 kB / 0.6715 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.1618, allocations: 125.7 kB / 0.6716 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1619, allocations: 0 / 0.6716 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000333/0.1622, allocations: 193.4 kB / 0.6718 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1622, allocations: 8 kB / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1622, allocations: 64 / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1622, allocations: 4 kB / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1624, allocations: 27.98 kB / 0.6719 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1624, allocations: 4 kB / 0.6719 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.1624, allocations: 11.95 kB / 0.6719 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1625, allocations: 4 kB / 0.6719 GB, free: 14.15 MB / 0.5137 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.0001433/0.1626, allocations: 141.6 kB / 0.672 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.1627, allocations: 15.91 kB / 0.672 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.1627, allocations: 29.5 kB / 0.6721 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1627, allocations: 8 kB / 0.6721 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1627, allocations: 0 / 0.6721 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1628, allocations: 3.984 kB / 0.6721 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.163, allocations: 241.5 kB / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.163, allocations: 0 / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.1631, allocations: 19.98 kB / 0.6723 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1631, allocations: 0 / 0.6723 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1631, allocations: 4 kB / 0.6723 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1631, allocations: 0 / 0.6723 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1631, allocations: 0 / 0.6723 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.1636, allocations: 224.9 kB / 0.6725 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.1637, allocations: 89.02 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.1637, allocations: 8 kB / 0.6726 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.1637, allocations: 3.984 kB / 0.6726 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1638, allocations: 7.984 kB / 0.6727 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1638, allocations: 15.98 kB / 0.6727 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001577/0.164, allocations: 148.5 kB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.164, allocations: 0 / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002566/0.1643, allocations: 39.92 kB / 0.6728 GB, free: 13.08 MB / 0.5137 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.002173/0.1664, allocations: 1.103 MB / 0.6739 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1667, allocations: 123.9 kB / 0.674 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1667, allocations: 0 / 0.674 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1669, allocations: 55.98 kB / 0.6741 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1672, allocations: 36.22 kB / 0.6741 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.1696, allocations: 1.969 MB / 0.6761 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.17, allocations: 0.7202 MB / 0.6768 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.1702, allocations: 49.66 kB / 0.6768 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1703, allocations: 55.41 kB / 0.6769 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1703, allocations: 4 kB / 0.6769 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.1991, allocations: 4.697 MB / 0.6814 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.306, allocations: 9.5 kB / 0.6815 GB, free: 4.418 MB / 0.5137 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/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)