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.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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001057/0.001057, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 298.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4501, allocations: 86.98 MB / 0.7671 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1671/0.6172, allocations: 161.4 MB / 0.9246 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005545/0.6228, allocations: 4.543 MB / 0.9291 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.6232, allocations: 11.94 kB / 0.9291 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.6236, allocations: 127 kB / 0.9292 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0009133/0.6246, allocations: 334.4 kB / 0.9295 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007779/0.6254, allocations: 280 kB / 0.9298 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006963/0.6261, allocations: 0.5612 MB / 0.9303 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.6265, allocations: 193.2 kB / 0.9305 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.6275, allocations: 462.2 kB / 0.931 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.6278, allocations: 191.2 kB / 0.9311 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.6279, allocations: 16 kB / 0.9312 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.6281, allocations: 83.86 kB / 0.9312 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.6282, allocations: 87.78 kB / 0.9313 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.6284, allocations: 119.4 kB / 0.9314 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.6288, allocations: 305.7 kB / 0.9317 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6288, allocations: 4 kB / 0.9317 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6288, allocations: 3.938 kB / 0.9317 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6288, allocations: 0 / 0.9317 GB, free: 10.52 MB / 0.7012 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.0008322/0.6297, allocations: 0.5372 MB / 0.9323 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6297, allocations: 8.031 kB / 0.9323 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.6298, allocations: 35.56 kB / 0.9323 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.6302, allocations: 279.5 kB / 0.9326 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.6302, allocations: 15.94 kB / 0.9326 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.6303, allocations: 20 kB / 0.9326 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.6307, allocations: 266.3 kB / 0.9329 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6307, allocations: 0 / 0.9329 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.6308, allocations: 15.94 kB / 0.9329 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.6308, allocations: 4 kB / 0.9329 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.6311, allocations: 151.7 kB / 0.933 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.6325, allocations: 1.371 MB / 0.9344 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.6328, allocations: 187.7 kB / 0.9345 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.6329, allocations: 93.11 kB / 0.9346 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/0.6333, allocations: 121 kB / 0.9347 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.6334, allocations: 42.5 kB / 0.9348 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.6334, allocations: 0 / 0.9348 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006054/0.634, allocations: 213.7 kB / 0.935 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.6341, allocations: 179.9 kB / 0.9352 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.6344, allocations: 294.9 kB / 0.9354 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.6344, allocations: 25.7 kB / 0.9355 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.6345, allocations: 143.9 kB / 0.9356 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.6346, allocations: 39.39 kB / 0.9356 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.6346, allocations: 41.8 kB / 0.9357 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6348, allocations: 334.8 kB / 0.936 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.6349, allocations: 43.91 kB / 0.936 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.6351, allocations: 115.7 kB / 0.9361 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.6354, allocations: 158.7 kB / 0.9363 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.6354, allocations: 4 kB / 0.9363 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003687/0.6357, allocations: 185.2 kB / 0.9365 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6358, allocations: 7.938 kB / 0.9365 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6358, allocations: 4.219 kB / 0.9365 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6358, allocations: 4 kB / 0.9365 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.6359, allocations: 31.92 kB / 0.9365 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.636, allocations: 4 kB / 0.9365 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.6361, allocations: 31.73 kB / 0.9366 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.6362, allocations: 4 kB / 0.9366 GB, free: 5.121 MB / 0.7012 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 0.0001274/0.6363, allocations: 160.1 kB / 0.9367 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6364, allocations: 31.59 kB / 0.9367 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.6368, allocations: 127 kB / 0.9369 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6368, allocations: 3.938 kB / 0.9369 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6368, allocations: 4.375 kB / 0.9369 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6368, allocations: 0 / 0.9369 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.6376, allocations: 0.7809 MB / 0.9376 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6376, allocations: 0 / 0.9376 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.6378, allocations: 23.98 kB / 0.9377 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.6378, allocations: 0 / 0.9377 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.6378, allocations: 8 kB / 0.9377 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6378, allocations: 3.938 kB / 0.9377 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6378, allocations: 4 kB / 0.9377 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.6383, allocations: 335.5 kB / 0.938 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.6384, allocations: 112.8 kB / 0.9381 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.6385, allocations: 12.05 kB / 0.9381 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.6386, allocations: 8 kB / 0.9381 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.6387, allocations: 15.92 kB / 0.9381 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.6387, allocations: 4 kB / 0.9381 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001932/0.6389, allocations: 209.9 kB / 0.9383 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6389, allocations: 0 / 0.9383 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003418/0.6392, allocations: 51.91 kB / 0.9384 GB, free: 3.113 MB / 0.7012 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.0003458/0.6396, allocations: 148 kB / 0.9385 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.6399, allocations: 123.8 kB / 0.9387 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6399, allocations: 0.5312 kB / 0.9387 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.6401, allocations: 63.84 kB / 0.9387 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.6408, allocations: 128.9 kB / 0.9388 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.6417, allocations: 0.5058 MB / 0.9393 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.642, allocations: 0.7596 MB / 0.9401 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.6421, allocations: 23.44 kB / 0.9401 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of SimCode: time 4.11e-07/0.6421, allocations: 0 / 0.9401 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of Templates: time 0.006469/0.6486, allocations: 3.838 MB / 0.9438 GB, free: 13.51 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)