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.0008027/0.0008027, allocations: 89.08 kB / 19.42 MB, free: 496 kB / 13.93 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.001394/0.001394, allocations: 169.3 kB / 22.73 MB, free: 1.82 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 1.012/1.012, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.001734/0.001734, allocations: 245.7 kB / 259.7 MB, free: 12.89 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.851/0.851, allocations: 138.4 MB / 454.7 MB, free: 1.5 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 1.462e-06/1.462e-06, allocations: 0 / 0.5543 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.909e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3896/0.3896, allocations: 157.4 MB / 0.708 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003955/0.3936, allocations: 4.684 MB / 0.7126 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.3938, allocations: 11.88 kB / 0.7126 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.3942, allocations: 123.1 kB / 0.7127 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.3948, allocations: 362.1 kB / 0.7131 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.3954, allocations: 307.1 kB / 0.7134 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.3958, allocations: 0.5611 MB / 0.7139 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3961, allocations: 165.5 kB / 0.7141 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007266/0.3968, allocations: 0.5293 MB / 0.7146 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.397, allocations: 175.5 kB / 0.7148 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.397, allocations: 16 kB / 0.7148 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.3971, allocations: 79.91 kB / 0.7148 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.3972, allocations: 91.72 kB / 0.7149 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.3973, allocations: 83.16 kB / 0.715 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.3976, allocations: 251.1 kB / 0.7153 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3976, allocations: 0 / 0.7153 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3976, allocations: 0 / 0.7153 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3976, allocations: 0 / 0.7153 GB, free: 8.195 MB / 0.5261 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.0006018/0.3982, allocations: 0.5574 MB / 0.7158 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3983, allocations: 12.75 kB / 0.7158 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.3983, allocations: 47.75 kB / 0.7159 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3986, allocations: 228.5 kB / 0.7161 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3987, allocations: 16 kB / 0.7161 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.3987, allocations: 16 kB / 0.7161 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.399, allocations: 250.9 kB / 0.7163 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.399, allocations: 0 / 0.7163 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.399, allocations: 4 kB / 0.7163 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.399, allocations: 8 kB / 0.7164 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3991, allocations: 67.77 kB / 0.7164 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4003, allocations: 1.703 MB / 0.7181 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.4005, allocations: 190.6 kB / 0.7183 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.4005, allocations: 70.11 kB / 0.7183 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.4007, allocations: 27.95 kB / 0.7184 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4007, allocations: 53.33 kB / 0.7184 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.4007, allocations: 3.938 kB / 0.7184 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002815/0.401, allocations: 117.4 kB / 0.7185 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.4011, allocations: 179.9 kB / 0.7187 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.4012, allocations: 265.7 kB / 0.7189 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4012, allocations: 25.7 kB / 0.719 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.4013, allocations: 210.9 kB / 0.7192 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.4014, allocations: 36.31 kB / 0.7192 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.4014, allocations: 47.31 kB / 0.7193 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4015, allocations: 0.4962 MB / 0.7197 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.4016, allocations: 19.98 kB / 0.7198 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.4017, allocations: 203.9 kB / 0.72 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.4018, allocations: 117.4 kB / 0.7201 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4018, allocations: 4 kB / 0.7201 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001577/0.402, allocations: 122.4 kB / 0.7202 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.402, allocations: 8 kB / 0.7202 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.402, allocations: 0 / 0.7202 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.402, allocations: 7.938 kB / 0.7202 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.4021, allocations: 23.98 kB / 0.7202 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4021, allocations: 7.938 kB / 0.7202 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.866e-05/0.4022, allocations: 23.55 kB / 0.7203 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.4022, allocations: 12 kB / 0.7203 GB, free: 2.551 MB / 0.5261 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 9.214e-05/0.4023, allocations: 168.5 kB / 0.7204 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.4024, allocations: 19.91 kB / 0.7204 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.4025, allocations: 78.83 kB / 0.7205 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4025, allocations: 3.938 kB / 0.7205 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4025, allocations: 4 kB / 0.7205 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4025, allocations: 3.938 kB / 0.7205 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.4031, allocations: 0.9184 MB / 0.7214 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4031, allocations: 0 / 0.7214 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.4031, allocations: 23.92 kB / 0.7215 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4031, allocations: 7.938 kB / 0.7215 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4032, allocations: 0 / 0.7215 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4032, allocations: 4 kB / 0.7215 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4032, allocations: 0 / 0.7215 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.4034, allocations: 306.6 kB / 0.7218 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.4034, allocations: 23.84 kB / 0.7218 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.4034, allocations: 8.109 kB / 0.7218 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.4035, allocations: 12 kB / 0.7218 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.4035, allocations: 11.92 kB / 0.7218 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.4035, allocations: 7.125 kB / 0.7218 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.825e-05/0.4036, allocations: 181.2 kB / 0.722 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.4036, allocations: 0 / 0.722 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002271/0.4038, allocations: 59.83 kB / 0.722 GB, free: 0.6133 MB / 0.5261 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.0001907/0.404, allocations: 135.1 kB / 0.7222 GB, free: 484 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.4042, allocations: 69.17 kB / 0.7222 GB, free: 412 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4042, allocations: 0 / 0.7222 GB, free: 412 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.4042, allocations: 39.61 kB / 0.7223 GB, free: 368 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.4045, allocations: 68.86 kB / 0.7223 GB, free: 308 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008142/0.4054, allocations: 462.9 kB / 0.7228 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.769e-05/0.4054, allocations: 87.97 kB / 0.7229 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.918e-05/0.4055, allocations: 31.08 kB / 0.7229 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.4055, allocations: 24.48 kB / 0.7229 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.4055, allocations: 0 / 0.7229 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of Templates: time 0.005024/0.4105, allocations: 2.759 MB / 0.7256 GB, free: 13 MB / 0.5417 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: 4.389212246052921]