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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001129, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001314/0.001314, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 280.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9196/0.9196, allocations: 169.2 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 102.1 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1737, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002945/0.1766, allocations: 1.626 MB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1786, allocations: 1.484 MB / 0.6847 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.1787, allocations: 3.938 kB / 0.6847 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.1791, allocations: 51.77 kB / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1793, allocations: 55.73 kB / 0.6848 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1796, allocations: 110.6 kB / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1798, allocations: 167.6 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.1798, allocations: 12.2 kB / 0.685 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.1799, allocations: 63.77 kB / 0.6851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1801, allocations: 71.73 kB / 0.6852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1801, allocations: 12 kB / 0.6852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1802, allocations: 59.98 kB / 0.6852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1803, allocations: 47.83 kB / 0.6853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.1804, allocations: 59.66 kB / 0.6853 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.1807, allocations: 199.3 kB / 0.6855 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1807, allocations: 0 / 0.6855 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1807, allocations: 0 / 0.6855 GB, free: 3.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1807, allocations: 0 / 0.6855 GB, free: 3.391 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.0006016/0.1813, allocations: 474.6 kB / 0.686 GB, free: 2.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1813, allocations: 8.031 kB / 0.686 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.1814, allocations: 16.75 kB / 0.686 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.1817, allocations: 261.2 kB / 0.6862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1818, allocations: 4.375 kB / 0.6863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1818, allocations: 12.06 kB / 0.6863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.182, allocations: 111.3 kB / 0.6864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.182, allocations: 3.938 kB / 0.6864 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1821, allocations: 8 kB / 0.6864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1821, allocations: 0 / 0.6864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.1823, allocations: 139.9 kB / 0.6865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.1825, allocations: 241.4 kB / 0.6867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.1829, allocations: 174.5 kB / 0.6869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.183, allocations: 56.77 kB / 0.687 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.183, allocations: 8 kB / 0.687 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.1832, allocations: 107.4 kB / 0.6871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1833, allocations: 4 kB / 0.6871 GB, free: 1.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004607/0.1837, allocations: 228.5 kB / 0.6873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.1838, allocations: 77.11 kB / 0.6874 GB, free: 1.305 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.184, allocations: 206.3 kB / 0.6876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.184, allocations: 29.7 kB / 0.6876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.1841, allocations: 116.1 kB / 0.6877 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.1841, allocations: 51.42 kB / 0.6878 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.1842, allocations: 29.72 kB / 0.6878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1843, allocations: 330.8 kB / 0.6881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.1844, allocations: 43.98 kB / 0.6881 GB, free: 488 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1845, allocations: 74.66 kB / 0.6882 GB, free: 404 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1847, allocations: 129.6 kB / 0.6883 GB, free: 268 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1847, allocations: 0 / 0.6883 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002982/0.185, allocations: 193.4 kB / 0.6885 GB, free: 68 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1851, allocations: 4 kB / 0.6885 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1851, allocations: 0 / 0.6885 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1851, allocations: 0 / 0.6885 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1852, allocations: 31.92 kB / 0.6886 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1852, allocations: 0 / 0.6886 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.1853, allocations: 19.88 kB / 0.6886 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1853, allocations: 4 kB / 0.6886 GB, free: 8 kB / 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.2814/0.4667, allocations: 133.7 kB / 0.6887 GB, free: 18.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.4668, allocations: 14.81 kB / 0.6887 GB, free: 18.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.57e-05/0.4669, allocations: 27.5 kB / 0.6887 GB, free: 18.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4669, allocations: 1.969 kB / 0.6887 GB, free: 18.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.467, allocations: 2.141 kB / 0.6888 GB, free: 18.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.467, allocations: 1.172 kB / 0.6888 GB, free: 18.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.4672, allocations: 233.9 kB / 0.689 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4673, allocations: 5.094 kB / 0.689 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.4674, allocations: 18.27 kB / 0.689 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4674, allocations: 1.781 kB / 0.689 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.4674, allocations: 7.922 kB / 0.689 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.4674, allocations: 0.9062 kB / 0.689 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4674, allocations: 5.281 kB / 0.689 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.4679, allocations: 210 kB / 0.6892 GB, free: 17.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.4679, allocations: 94.64 kB / 0.6893 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.468, allocations: 6.641 kB / 0.6893 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/0.468, allocations: 3.766 kB / 0.6893 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4681, allocations: 16.98 kB / 0.6893 GB, free: 17.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.4681, allocations: 10.44 kB / 0.6893 GB, free: 17.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.4682, allocations: 152.6 kB / 0.6895 GB, free: 17.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4683, allocations: 0.8438 kB / 0.6895 GB, free: 17.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.4686, allocations: 42.61 kB / 0.6895 GB, free: 17.67 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.001025/0.4696, allocations: 463.1 kB / 0.69 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.4699, allocations: 123.9 kB / 0.6901 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4699, allocations: 0 / 0.6901 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.4701, allocations: 68.67 kB / 0.6902 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.4704, allocations: 35.36 kB / 0.6902 GB, free: 17.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.4709, allocations: 292.2 kB / 0.6905 GB, free: 17.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.4711, allocations: 0.7206 MB / 0.6912 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.4713, allocations: 45.08 kB / 0.6912 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.4713, allocations: 32.69 kB / 0.6912 GB, free: 16.67 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4713, allocations: 4.734 kB / 0.6912 GB, free: 16.67 MB / 494.1 MB Notification: Performance of Templates: time 0.007015/0.4784, allocations: 2.49 MB / 0.6937 GB, free: 16.49 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)