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.001319/0.001319, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001393, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 294.6 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001756, allocations: 100.4 kB / 0.5954 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1575, allocations: 86.98 MB / 0.6803 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002945/0.1605, allocations: 1.63 MB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.1625, allocations: 1.483 MB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.1626, allocations: 0 / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.163, allocations: 59.69 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1633, allocations: 47.77 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1635, allocations: 113.5 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1638, allocations: 167.6 kB / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1638, allocations: 8.5 kB / 0.6837 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1639, allocations: 63.77 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1641, allocations: 63.8 kB / 0.6838 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.1641, allocations: 12 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1643, allocations: 67.91 kB / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.1644, allocations: 48.52 kB / 0.684 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.1645, allocations: 55.67 kB / 0.684 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1647, allocations: 200.2 kB / 0.6842 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1648, allocations: 0 / 0.6842 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1648, allocations: 0.5312 kB / 0.6842 GB, free: 12.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1648, allocations: 0 / 0.6842 GB, free: 12.53 MB / 494.1 MB 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.0006046/0.1654, allocations: 463.6 kB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1654, allocations: 9.188 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.1655, allocations: 50.61 kB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1655, allocations: 20.69 kB / 0.6847 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1659, allocations: 255.9 kB / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1659, allocations: 4.375 kB / 0.685 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1659, allocations: 7.938 kB / 0.685 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1661, allocations: 119.3 kB / 0.6851 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1662, allocations: 3.984 kB / 0.6851 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1662, allocations: 3.938 kB / 0.6851 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1662, allocations: 0 / 0.6851 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.1664, allocations: 143.9 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.1667, allocations: 245.3 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.167, allocations: 170.5 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1672, allocations: 48.84 kB / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1672, allocations: 11.98 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.1675, allocations: 111.3 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.1675, allocations: 0 / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004685/0.1679, allocations: 220.7 kB / 0.686 GB, free: 10.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.168, allocations: 85.11 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1682, allocations: 210.9 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1682, allocations: 25.7 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.1683, allocations: 116.1 kB / 0.6864 GB, free: 10.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1684, allocations: 39.45 kB / 0.6865 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.1684, allocations: 41.7 kB / 0.6865 GB, free: 9.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1685, allocations: 330.8 kB / 0.6868 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1686, allocations: 47.92 kB / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1688, allocations: 76.8 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.169, allocations: 121.7 kB / 0.6871 GB, free: 9.355 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.169, allocations: 7.969 kB / 0.6871 GB, free: 9.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003233/0.1693, allocations: 185.4 kB / 0.6872 GB, free: 9.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1694, allocations: 8.109 kB / 0.6873 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1694, allocations: 3.938 kB / 0.6873 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1694, allocations: 0 / 0.6873 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1695, allocations: 23.98 kB / 0.6873 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1695, allocations: 4 kB / 0.6873 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.1696, allocations: 19.84 kB / 0.6873 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1696, allocations: 4 kB / 0.6873 GB, free: 9.098 MB / 494.1 MB 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.0001181/0.1697, allocations: 152.6 kB / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.1698, allocations: 15.81 kB / 0.6875 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.1698, allocations: 17.53 kB / 0.6875 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1699, allocations: 11.92 kB / 0.6875 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1699, allocations: 0 / 0.6875 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1699, allocations: 0 / 0.6875 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.1701, allocations: 241.4 kB / 0.6877 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1701, allocations: 0 / 0.6877 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.1702, allocations: 19.98 kB / 0.6877 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1702, allocations: 4 kB / 0.6877 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1702, allocations: 8 kB / 0.6878 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1702, allocations: 0 / 0.6878 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1702, allocations: 7.938 kB / 0.6878 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1705, allocations: 208.8 kB / 0.688 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.1706, allocations: 88.95 kB / 0.688 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.1706, allocations: 11.98 kB / 0.6881 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.1707, allocations: 0 / 0.6881 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1708, allocations: 19.98 kB / 0.6881 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1708, allocations: 4 kB / 0.6881 GB, free: 8.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1709, allocations: 156.2 kB / 0.6882 GB, free: 8.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1709, allocations: 0 / 0.6882 GB, free: 8.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1712, allocations: 39.91 kB / 0.6883 GB, free: 8.02 MB / 494.1 MB 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.001582/0.1728, allocations: 1.1 MB / 0.6893 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.1731, allocations: 131.9 kB / 0.6895 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1731, allocations: 0 / 0.6895 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.1732, allocations: 63.97 kB / 0.6895 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1735, allocations: 40.67 kB / 0.6896 GB, free: 6.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1759, allocations: 1.923 MB / 0.6914 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1762, allocations: 0.7202 MB / 0.6921 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1764, allocations: 49.61 kB / 0.6922 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1765, allocations: 59.41 kB / 0.6923 GB, free: 3.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1765, allocations: 0 / 0.6923 GB, free: 3.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1996, allocations: 4.599 MB / 0.6967 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.59, allocations: 14.25 kB / 0.6968 GB, free: 15.55 MB / 0.4981 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)