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.004758/0.004758, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001018/0.001018, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 275.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 99.84 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1764, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5613/0.7377, allocations: 161.3 MB / 0.924 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005063/0.7428, allocations: 4.549 MB / 0.9284 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.7432, allocations: 11.94 kB / 0.9284 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.7436, allocations: 123.1 kB / 0.9285 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0007945/0.7445, allocations: 334.4 kB / 0.9289 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.7453, allocations: 283.6 kB / 0.9291 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.7459, allocations: 0.5574 MB / 0.9297 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.7462, allocations: 193.1 kB / 0.9299 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.7472, allocations: 466.2 kB / 0.9303 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.7475, allocations: 191.2 kB / 0.9305 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.7475, allocations: 16 kB / 0.9305 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.7477, allocations: 79.92 kB / 0.9306 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.7478, allocations: 91.72 kB / 0.9307 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.7479, allocations: 123.4 kB / 0.9308 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.7483, allocations: 309.7 kB / 0.9311 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7484, allocations: 0 / 0.9311 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7484, allocations: 0 / 0.9311 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7484, allocations: 0 / 0.9311 GB, free: 10.17 MB / 0.6856 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.000862/0.7492, allocations: 0.534 MB / 0.9316 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7493, allocations: 8.031 kB / 0.9316 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.7494, allocations: 31.56 kB / 0.9316 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.7498, allocations: 291.3 kB / 0.9319 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.7498, allocations: 16 kB / 0.9319 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.7498, allocations: 16 kB / 0.9319 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.7503, allocations: 261.8 kB / 0.9322 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7503, allocations: 0 / 0.9322 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.7504, allocations: 15.94 kB / 0.9322 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.7504, allocations: 7.984 kB / 0.9322 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.7507, allocations: 149.8 kB / 0.9324 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.7522, allocations: 1.367 MB / 0.9337 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.7526, allocations: 180.2 kB / 0.9339 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.7528, allocations: 101 kB / 0.934 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003394/0.7532, allocations: 117 kB / 0.9341 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.7532, allocations: 42.5 kB / 0.9341 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.7532, allocations: 0 / 0.9341 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006131/0.7538, allocations: 212.2 kB / 0.9343 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7539, allocations: 187.9 kB / 0.9345 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.7542, allocations: 287 kB / 0.9348 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.7543, allocations: 29.7 kB / 0.9348 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.7544, allocations: 143.9 kB / 0.9349 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.7544, allocations: 39.45 kB / 0.935 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.7545, allocations: 37.7 kB / 0.935 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7547, allocations: 330.8 kB / 0.9353 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.7548, allocations: 55.83 kB / 0.9354 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.755, allocations: 112.5 kB / 0.9355 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.7554, allocations: 158.7 kB / 0.9356 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7554, allocations: 4 kB / 0.9356 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00036/0.7557, allocations: 185.2 kB / 0.9358 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7558, allocations: 7.938 kB / 0.9358 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7558, allocations: 11.92 kB / 0.9358 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.7558, allocations: 4 kB / 0.9358 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.7559, allocations: 32.2 kB / 0.9359 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.756, allocations: 5.188 kB / 0.9359 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.7561, allocations: 31.73 kB / 0.9359 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.7562, allocations: 8 kB / 0.9359 GB, free: 4.762 MB / 0.6856 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.0001369/0.7563, allocations: 141.8 kB / 0.936 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.7564, allocations: 31.64 kB / 0.9361 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.7568, allocations: 142.1 kB / 0.9362 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7568, allocations: 0 / 0.9362 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7568, allocations: 4 kB / 0.9362 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.7568, allocations: 0 / 0.9362 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008268/0.7576, allocations: 0.7692 MB / 0.937 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7577, allocations: 0 / 0.937 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.7578, allocations: 27.92 kB / 0.937 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7578, allocations: 0 / 0.937 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.7578, allocations: 8 kB / 0.937 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7578, allocations: 0 / 0.937 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7578, allocations: 4 kB / 0.937 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.7584, allocations: 335.4 kB / 0.9373 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.7585, allocations: 112.8 kB / 0.9374 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.7585, allocations: 0 / 0.9374 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.7587, allocations: 16.05 kB / 0.9374 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.7587, allocations: 19.91 kB / 0.9375 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.7588, allocations: 7.984 kB / 0.9375 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002068/0.759, allocations: 209.9 kB / 0.9377 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.759, allocations: 0 / 0.9377 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003345/0.7593, allocations: 59.84 kB / 0.9377 GB, free: 2.758 MB / 0.6856 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.0003882/0.7597, allocations: 138.6 kB / 0.9379 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.7601, allocations: 124.7 kB / 0.938 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7601, allocations: 0 / 0.938 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.7602, allocations: 64.58 kB / 0.938 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.761, allocations: 131.8 kB / 0.9382 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.7619, allocations: 486.6 kB / 0.9386 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.7622, allocations: 0.7636 MB / 0.9394 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000147/0.7624, allocations: 52.14 kB / 0.9394 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.7625, allocations: 19.44 kB / 0.9394 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/0.7625, allocations: 0 / 0.9394 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of Templates: time 0.008737/0.7712, allocations: 4.326 MB / 0.9437 GB, free: 12.69 MB / 0.7012 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)