Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9883/0.9883, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001648/0.001648, allocations: 246 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.75/0.75, allocations: 138.4 MB / 402.2 MB, free: 0.5234 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 462.3 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.553e-05, allocations: 3.594 kB / 462.3 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1725/0.1725, allocations: 145.4 MB / 0.5935 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1747, allocations: 0.8774 MB / 0.5944 GB, free: 44 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.1749, allocations: 11.88 kB / 0.5944 GB, free: 32 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.1753, allocations: 71.42 kB / 0.5945 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.1763, allocations: 338.1 kB / 0.5948 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.1771, allocations: 287.3 kB / 0.5951 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007301/0.1778, allocations: 0.5533 MB / 0.5956 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.1781, allocations: 170.7 kB / 0.5958 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/0.1787, allocations: 303.1 kB / 0.5961 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.179, allocations: 167.5 kB / 0.5962 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.179, allocations: 16 kB / 0.5962 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.1792, allocations: 79.92 kB / 0.5963 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1793, allocations: 87.72 kB / 0.5964 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1794, allocations: 83.77 kB / 0.5965 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.1798, allocations: 251.1 kB / 0.5967 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1798, allocations: 0 / 0.5967 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1798, allocations: 0 / 0.5967 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1798, allocations: 0 / 0.5967 GB, free: 13.66 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006192/0.1804, allocations: 442.7 kB / 0.5971 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1805, allocations: 8.75 kB / 0.5971 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1805, allocations: 32.91 kB / 0.5972 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.1809, allocations: 218.3 kB / 0.5974 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1809, allocations: 12.38 kB / 0.5974 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.181, allocations: 20.38 kB / 0.5974 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1813, allocations: 214.4 kB / 0.5976 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1813, allocations: 7.938 kB / 0.5976 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1813, allocations: 4 kB / 0.5976 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.1813, allocations: 4 kB / 0.5976 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1814, allocations: 84.78 kB / 0.5977 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.1822, allocations: 1.16 MB / 0.5988 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1824, allocations: 319.4 kB / 0.5992 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.1825, allocations: 68.41 kB / 0.5992 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.1826, allocations: 35.89 kB / 0.5992 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1826, allocations: 38.56 kB / 0.5993 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1826, allocations: 0 / 0.5993 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0001961/0.1828, allocations: 98.66 kB / 0.5994 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.1829, allocations: 180 kB / 0.5996 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.183, allocations: 198.5 kB / 0.5997 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.183, allocations: 29.7 kB / 0.5998 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1831, allocations: 156.1 kB / 0.5999 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1831, allocations: 31.7 kB / 0.5999 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.1831, allocations: 33.69 kB / 0.6 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.1832, allocations: 334.7 kB / 0.6003 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.1832, allocations: 14.81 kB / 0.6003 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.1833, allocations: 176.6 kB / 0.6005 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.1834, allocations: 103.9 kB / 0.6006 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1834, allocations: 4 kB / 0.6006 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001076/0.1835, allocations: 104.6 kB / 0.6007 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1835, allocations: 8.219 kB / 0.6007 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1835, allocations: 4 kB / 0.6007 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1836, allocations: 4 kB / 0.6007 GB, free: 9.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.1836, allocations: 23.98 kB / 0.6007 GB, free: 9.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.1836, allocations: 4 kB / 0.6007 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.1837, allocations: 24.88 kB / 0.6008 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1837, allocations: 7.938 kB / 0.6008 GB, free: 9.102 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.236e-05/0.1838, allocations: 116.7 kB / 0.6009 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1839, allocations: 19.92 kB / 0.6009 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.184, allocations: 75.95 kB / 0.601 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.184, allocations: 8.969 kB / 0.601 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.184, allocations: 4 kB / 0.601 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.184, allocations: 0.5625 kB / 0.601 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.1845, allocations: 0.6542 MB / 0.6016 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1845, allocations: 0 / 0.6016 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.1846, allocations: 24.42 kB / 0.6016 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1846, allocations: 0 / 0.6016 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1846, allocations: 4 kB / 0.6016 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1846, allocations: 4.094 kB / 0.6016 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1846, allocations: 8.812 kB / 0.6017 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1848, allocations: 270.5 kB / 0.6019 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.1848, allocations: 23.84 kB / 0.6019 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1848, allocations: 8 kB / 0.6019 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.1849, allocations: 6.625 kB / 0.6019 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1849, allocations: 15.86 kB / 0.602 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1849, allocations: 8.688 kB / 0.602 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.1849, allocations: 58.17 kB / 0.602 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.1849, allocations: 0 / 0.602 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002246/0.1852, allocations: 67.86 kB / 0.6021 GB, free: 7.645 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001743/0.1853, allocations: 108.3 kB / 0.6022 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1855, allocations: 60.7 kB / 0.6023 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1855, allocations: 0 / 0.6023 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.1855, allocations: 25.55 kB / 0.6023 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1858, allocations: 72.12 kB / 0.6023 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.1864, allocations: 452.2 kB / 0.6028 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.1865, allocations: 86.64 kB / 0.6029 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.436e-05/0.1865, allocations: 21.48 kB / 0.6029 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1867, allocations: 91.33 kB / 0.603 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/0.1867, allocations: 4 kB / 0.603 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of Templates: time 0.005714/0.1924, allocations: 2.922 MB / 0.6058 GB, free: 3.91 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7853474258445203]