Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.782/1.782, allocations: 288.4 MB / 303.4 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001124, allocations: 174.9 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 90.36 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005074, allocations: 15.73 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2337, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6696/0.9033, allocations: 146.5 MB / 1.123 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005565/0.909, allocations: 4.217 MB / 1.127 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.9093, allocations: 8.875 kB / 1.127 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.9097, allocations: 95.75 kB / 1.127 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007926/0.9105, allocations: 247.7 kB / 1.127 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.9113, allocations: 230.6 kB / 1.127 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.912, allocations: 0.67 MB / 1.128 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.9124, allocations: 150.8 kB / 1.128 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008364/0.9132, allocations: 364.5 kB / 1.128 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.9135, allocations: 184.8 kB / 1.129 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.9135, allocations: 12.53 kB / 1.129 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.9137, allocations: 67.88 kB / 1.129 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.9138, allocations: 78.23 kB / 1.129 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.9139, allocations: 67.23 kB / 1.129 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.9142, allocations: 209 kB / 1.129 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9143, allocations: 1.281 kB / 1.129 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.837e-06/0.9143, allocations: 0 / 1.129 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9143, allocations: 1.859 kB / 1.129 GB, free: 1.105 MB / 0.6823 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.0009258/0.9152, allocations: 0.4935 MB / 1.13 GB, free: 16.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9153, allocations: 9.562 kB / 1.13 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.9154, allocations: 32.28 kB / 1.13 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.9158, allocations: 276.5 kB / 1.13 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.9158, allocations: 13.09 kB / 1.13 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.9159, allocations: 18.53 kB / 1.13 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.9164, allocations: 260.5 kB / 1.13 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.9164, allocations: 2.875 kB / 1.13 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.9164, allocations: 10.12 kB / 1.13 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.9165, allocations: 5.781 kB / 1.13 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.9168, allocations: 163.9 kB / 1.13 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.9182, allocations: 1.38 MB / 1.132 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.9185, allocations: 185.5 kB / 1.132 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.9187, allocations: 97.03 kB / 1.132 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.9191, allocations: 130.2 kB / 1.132 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.9191, allocations: 48.95 kB / 1.132 GB, free: 14.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.9191, allocations: 0 / 1.132 GB, free: 14.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006159/0.9197, allocations: 222.8 kB / 1.132 GB, free: 14.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.9198, allocations: 185.3 kB / 1.132 GB, free: 14.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.9201, allocations: 291.7 kB / 1.133 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.9202, allocations: 25.7 kB / 1.133 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.9203, allocations: 150.6 kB / 1.133 GB, free: 14.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.9204, allocations: 41.2 kB / 1.133 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.9204, allocations: 5.094 kB / 1.133 GB, free: 14.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9205, allocations: 332.8 kB / 1.133 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.9207, allocations: 45.88 kB / 1.133 GB, free: 13.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.9209, allocations: 129.8 kB / 1.133 GB, free: 13.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.921, allocations: 67.16 kB / 1.134 GB, free: 13.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.921, allocations: 0 / 1.134 GB, free: 13.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003647/0.9214, allocations: 200.3 kB / 1.134 GB, free: 13.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.9214, allocations: 4.906 kB / 1.134 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.9214, allocations: 6.859 kB / 1.134 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9215, allocations: 2.906 kB / 1.134 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.9216, allocations: 38.55 kB / 1.134 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.9216, allocations: 1.969 kB / 1.134 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.9218, allocations: 35.89 kB / 1.134 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.9218, allocations: 8.094 kB / 1.134 GB, free: 13.82 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.922, allocations: 147.7 kB / 1.134 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.9221, allocations: 22.56 kB / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.9225, allocations: 149.7 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.9225, allocations: 6.141 kB / 1.134 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9225, allocations: 0 / 1.134 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9225, allocations: 5.516 kB / 1.134 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007913/0.9233, allocations: 0.7828 MB / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9233, allocations: 1.969 kB / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.9234, allocations: 24.69 kB / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.9234, allocations: 1.75 kB / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.9235, allocations: 3.281 kB / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9235, allocations: 2.875 kB / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9235, allocations: 0 / 1.135 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.924, allocations: 359.3 kB / 1.135 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.9241, allocations: 111.4 kB / 1.135 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.9242, allocations: 9.078 kB / 1.135 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.9243, allocations: 10.47 kB / 1.135 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.9244, allocations: 12.11 kB / 1.135 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.9244, allocations: 4.656 kB / 1.135 GB, free: 12.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000184/0.9246, allocations: 212 kB / 1.136 GB, free: 12.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9246, allocations: 0 / 1.136 GB, free: 12.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003188/0.9249, allocations: 51.09 kB / 1.136 GB, free: 12.59 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003451/0.9253, allocations: 146.8 kB / 1.136 GB, free: 12.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.9256, allocations: 129.2 kB / 1.136 GB, free: 12.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9256, allocations: 2.719 kB / 1.136 GB, free: 12.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.9258, allocations: 69.62 kB / 1.136 GB, free: 12.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.9265, allocations: 126.2 kB / 1.136 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.9274, allocations: 0.5599 MB / 1.137 GB, free: 12.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.9278, allocations: 0.7543 MB / 1.137 GB, free: 11.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.9279, allocations: 57.58 kB / 1.137 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.928, allocations: 21.28 kB / 1.137 GB, free: 11.38 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.928, allocations: 0 / 1.137 GB, free: 11.38 MB / 0.698 GB Notification: Performance of Templates: time 0.008343/0.9363, allocations: 3.888 MB / 1.141 GB, free: 10.18 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)