Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_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.004844/0.004844, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001084/0.001084, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 282.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9289/0.9289, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 96.98 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1635, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003287/0.1668, allocations: 1.634 MB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1691, allocations: 1.484 MB / 0.769 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.1692, allocations: 0 / 0.769 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.1696, allocations: 51.75 kB / 0.769 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1699, allocations: 59.7 kB / 0.7691 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1702, allocations: 103.7 kB / 0.7692 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1705, allocations: 167.6 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.1705, allocations: 12.48 kB / 0.7693 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1707, allocations: 71.7 kB / 0.7694 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1709, allocations: 63.81 kB / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1709, allocations: 8 kB / 0.7695 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.171, allocations: 71.95 kB / 0.7695 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.1711, allocations: 43.84 kB / 0.7696 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.1712, allocations: 59.66 kB / 0.7696 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.1716, allocations: 199.3 kB / 0.7698 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1716, allocations: 4 kB / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1716, allocations: 0 / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1716, allocations: 0 / 0.7698 GB, free: 4.895 MB / 0.5606 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.0006116/0.1723, allocations: 470.5 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1723, allocations: 8.031 kB / 0.7703 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.1724, allocations: 42.73 kB / 0.7703 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.1724, allocations: 16.75 kB / 0.7704 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1728, allocations: 260.2 kB / 0.7706 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1728, allocations: 8.375 kB / 0.7706 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1729, allocations: 7.938 kB / 0.7706 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1731, allocations: 111.3 kB / 0.7707 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1731, allocations: 4 kB / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1731, allocations: 4 kB / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1732, allocations: 3.938 kB / 0.7707 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.1734, allocations: 143.9 kB / 0.7709 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.1736, allocations: 229.5 kB / 0.7711 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.1741, allocations: 174.5 kB / 0.7713 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.1742, allocations: 56.83 kB / 0.7713 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.1742, allocations: 7.984 kB / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.1745, allocations: 107.4 kB / 0.7714 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1745, allocations: 0 / 0.7714 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004757/0.175, allocations: 232.4 kB / 0.7716 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1751, allocations: 85.05 kB / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1753, allocations: 202.6 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1753, allocations: 37.69 kB / 0.772 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.1754, allocations: 112.1 kB / 0.7721 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.1755, allocations: 43.45 kB / 0.7721 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1755, allocations: 29.72 kB / 0.7721 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1757, allocations: 330.8 kB / 0.7724 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.444e-05/0.1758, allocations: 43.98 kB / 0.7725 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1759, allocations: 81.08 kB / 0.7726 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1761, allocations: 125.7 kB / 0.7727 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1761, allocations: 3.938 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000315/0.1764, allocations: 193.4 kB / 0.7729 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1764, allocations: 8 kB / 0.7729 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1765, allocations: 0 / 0.7729 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1765, allocations: 0 / 0.7729 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1766, allocations: 23.98 kB / 0.7729 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1766, allocations: 8.062 kB / 0.7729 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.1767, allocations: 11.94 kB / 0.7729 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1767, allocations: 7.984 kB / 0.7729 GB, free: 1.469 MB / 0.5606 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.0001131/0.1768, allocations: 138.4 kB / 0.7731 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.1769, allocations: 19.72 kB / 0.7731 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.1769, allocations: 25.52 kB / 0.7731 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1769, allocations: 8 kB / 0.7731 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1769, allocations: 0 / 0.7731 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1769, allocations: 0 / 0.7731 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1772, allocations: 241.5 kB / 0.7733 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1772, allocations: 0 / 0.7733 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.1772, allocations: 19.98 kB / 0.7734 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1772, allocations: 7.984 kB / 0.7734 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1773, allocations: 0 / 0.7734 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1773, allocations: 3.984 kB / 0.7734 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1773, allocations: 4 kB / 0.7734 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.1777, allocations: 214.7 kB / 0.7736 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1777, allocations: 100.8 kB / 0.7737 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.1778, allocations: 8 kB / 0.7737 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.1778, allocations: 0 / 0.7737 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1779, allocations: 11.98 kB / 0.7737 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1779, allocations: 8 kB / 0.7737 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001287/0.178, allocations: 156.2 kB / 0.7739 GB, free: 436 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.178, allocations: 0 / 0.7739 GB, free: 436 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002532/0.1783, allocations: 32 kB / 0.7739 GB, free: 404 kB / 0.5606 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.2988/0.4771, allocations: 1.092 MB / 0.775 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.4775, allocations: 124.9 kB / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4775, allocations: 1.531 kB / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4776, allocations: 65.53 kB / 0.7751 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.4779, allocations: 40.17 kB / 0.7752 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4799, allocations: 1.937 MB / 0.7771 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.48, allocations: 0.7214 MB / 0.7778 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.4802, allocations: 51.28 kB / 0.7778 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.4803, allocations: 60.67 kB / 0.7779 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.4803, allocations: 0 / 0.7779 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.5028, allocations: 4.775 MB / 0.7825 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.092, allocations: 5.656 kB / 0.7825 GB, free: 11.89 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)