Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001354/0.001354, allocations: 106.5 kB / 16.36 MB, free: 6.012 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.001322/0.001322, allocations: 192.1 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 72.45 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2139, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5556/0.7695, allocations: 161.4 MB / 0.9424 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006308/0.7759, allocations: 4.551 MB / 0.9468 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004399/0.7764, allocations: 7.938 kB / 0.9468 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005257/0.777, allocations: 123.1 kB / 0.9469 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.7779, allocations: 334.4 kB / 0.9472 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.7788, allocations: 278.5 kB / 0.9475 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000659/0.7795, allocations: 0.5613 MB / 0.9481 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.7799, allocations: 212.9 kB / 0.9483 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.781, allocations: 454.3 kB / 0.9487 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.7814, allocations: 191.2 kB / 0.9489 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.7815, allocations: 16 kB / 0.9489 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.7817, allocations: 79.92 kB / 0.949 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.7818, allocations: 91.72 kB / 0.9491 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.782, allocations: 115.4 kB / 0.9492 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.7824, allocations: 304.5 kB / 0.9495 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7825, allocations: 0 / 0.9495 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7825, allocations: 0 / 0.9495 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.7825, allocations: 8 kB / 0.9495 GB, free: 1.453 MB / 0.7325 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.0008958/0.7834, allocations: 0.5245 MB / 0.95 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7834, allocations: 12.03 kB / 0.95 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.7835, allocations: 31.56 kB / 0.95 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.7839, allocations: 275.3 kB / 0.9503 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.784, allocations: 16 kB / 0.9503 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.784, allocations: 19.88 kB / 0.9503 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.7845, allocations: 266.3 kB / 0.9506 GB, free: 208 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7845, allocations: 4 kB / 0.9506 GB, free: 204 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.7845, allocations: 11.94 kB / 0.9506 GB, free: 192 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.7845, allocations: 8 kB / 0.9506 GB, free: 184 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.7848, allocations: 143.8 kB / 0.9507 GB, free: 40 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.7864, allocations: 1.375 MB / 0.9521 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.7868, allocations: 176.4 kB / 0.9522 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.7869, allocations: 97.11 kB / 0.9523 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003648/0.7873, allocations: 121 kB / 0.9525 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.7874, allocations: 38.5 kB / 0.9525 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.7874, allocations: 4 kB / 0.9525 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006331/0.788, allocations: 209.7 kB / 0.9527 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/0.7881, allocations: 187.9 kB / 0.9529 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.7884, allocations: 287 kB / 0.9531 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.7884, allocations: 31.58 kB / 0.9532 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.7886, allocations: 143.9 kB / 0.9533 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.7886, allocations: 39.45 kB / 0.9533 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.7887, allocations: 37.7 kB / 0.9534 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7888, allocations: 338.8 kB / 0.9537 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.7889, allocations: 47.91 kB / 0.9538 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.7891, allocations: 115.6 kB / 0.9539 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.7895, allocations: 158.8 kB / 0.954 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7895, allocations: 0 / 0.954 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003909/0.7899, allocations: 185.1 kB / 0.9542 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.7899, allocations: 11.94 kB / 0.9542 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7899, allocations: 0 / 0.9542 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.7899, allocations: 4.219 kB / 0.9542 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.7901, allocations: 39.92 kB / 0.9542 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.7901, allocations: 0 / 0.9542 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.7903, allocations: 27.73 kB / 0.9543 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.7903, allocations: 10.31 kB / 0.9543 GB, free: 12.08 MB / 0.7481 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.0001945/0.7905, allocations: 149.8 kB / 0.9544 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7907, allocations: 27.66 kB / 0.9545 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.791, allocations: 136.4 kB / 0.9546 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.791, allocations: 4 kB / 0.9546 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.791, allocations: 0 / 0.9546 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.791, allocations: 0 / 0.9546 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.7919, allocations: 0.773 MB / 0.9553 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.7919, allocations: 0 / 0.9553 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.7921, allocations: 27.98 kB / 0.9554 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7921, allocations: 0 / 0.9554 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.7921, allocations: 6.812 kB / 0.9554 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7921, allocations: 0 / 0.9554 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7921, allocations: 7.938 kB / 0.9554 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.7926, allocations: 340.7 kB / 0.9557 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.7928, allocations: 108.8 kB / 0.9558 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.7928, allocations: 11.92 kB / 0.9558 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.7929, allocations: 12.06 kB / 0.9558 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.793, allocations: 11.92 kB / 0.9558 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.793, allocations: 4 kB / 0.9558 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002755/0.7933, allocations: 209.9 kB / 0.956 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7933, allocations: 0 / 0.956 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003423/0.7936, allocations: 59.84 kB / 0.9561 GB, free: 10.07 MB / 0.7481 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.0003287/0.794, allocations: 149.6 kB / 0.9562 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.7943, allocations: 123.8 kB / 0.9564 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7944, allocations: 0 / 0.9564 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.7945, allocations: 56.66 kB / 0.9564 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.7953, allocations: 130.7 kB / 0.9565 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.7961, allocations: 478.3 kB / 0.957 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.7964, allocations: 0.7597 MB / 0.9577 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.7966, allocations: 46.27 kB / 0.9578 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.7966, allocations: 27.42 kB / 0.9578 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.7966, allocations: 0 / 0.9578 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of Templates: time 0.01103/0.8077, allocations: 4.222 MB / 0.9619 GB, free: 4.18 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)