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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.001138/0.001138, allocations: 181.5 kB / 372 MB, free: 10.19 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.962/1.962, allocations: 205.4 MB / 0.6307 GB, free: 9.945 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.0007917/0.0007919, allocations: 93.05 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004612, allocations: 20.72 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8277/1.104, allocations: 146.5 MB / 1.123 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006364/1.111, allocations: 4.213 MB / 1.127 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/1.111, allocations: 11.88 kB / 1.127 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004737/1.112, allocations: 88.45 kB / 1.127 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009899/1.113, allocations: 256.7 kB / 1.127 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/1.114, allocations: 228.7 kB / 1.127 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009543/1.115, allocations: 0.6614 MB / 1.128 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/1.115, allocations: 151.3 kB / 1.128 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/1.116, allocations: 365.6 kB / 1.129 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/1.117, allocations: 183.5 kB / 1.129 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/1.117, allocations: 10.06 kB / 1.129 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/1.117, allocations: 73.81 kB / 1.129 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/1.117, allocations: 75.58 kB / 1.129 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/1.117, allocations: 75.55 kB / 1.129 GB, free: 17.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/1.118, allocations: 211 kB / 1.129 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.118, allocations: 0 / 1.129 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.534e-06/1.118, allocations: 0 / 1.129 GB, free: 17.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.118, allocations: 1.219 kB / 1.129 GB, free: 17.12 MB / 0.698 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.001057/1.119, allocations: 0.4929 MB / 1.13 GB, free: 16.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/1.119, allocations: 10.19 kB / 1.13 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/1.119, allocations: 56.38 kB / 1.13 GB, free: 16.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/1.119, allocations: 28.98 kB / 1.13 GB, free: 16.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/1.119, allocations: 275.9 kB / 1.13 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/1.12, allocations: 19.69 kB / 1.13 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/1.12, allocations: 18.97 kB / 1.13 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/1.12, allocations: 263.1 kB / 1.13 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.12, allocations: 0 / 1.13 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/1.12, allocations: 9.312 kB / 1.13 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.12, allocations: 5.094 kB / 1.13 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/1.121, allocations: 163.1 kB / 1.13 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/1.122, allocations: 1.365 MB / 1.132 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/1.123, allocations: 188.9 kB / 1.132 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/1.123, allocations: 105.4 kB / 1.132 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/1.123, allocations: 133.9 kB / 1.132 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/1.123, allocations: 43.89 kB / 1.132 GB, free: 14.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.345e-06/1.123, allocations: 9.844 kB / 1.132 GB, free: 14.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000643/1.124, allocations: 219.5 kB / 1.132 GB, free: 14.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/1.124, allocations: 189.3 kB / 1.133 GB, free: 14.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/1.124, allocations: 290 kB / 1.133 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/1.124, allocations: 25.7 kB / 1.133 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/1.124, allocations: 146.1 kB / 1.133 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/1.124, allocations: 35.8 kB / 1.133 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/1.124, allocations: 2.938 kB / 1.133 GB, free: 14.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.125, allocations: 342 kB / 1.133 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/1.125, allocations: 49.22 kB / 1.133 GB, free: 13.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/1.125, allocations: 125.1 kB / 1.134 GB, free: 13.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.125, allocations: 67.55 kB / 1.134 GB, free: 13.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.125, allocations: 0 / 1.134 GB, free: 13.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003759/1.126, allocations: 192.5 kB / 1.134 GB, free: 13.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.126, allocations: 14.14 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.126, allocations: 2.656 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.126, allocations: 1.906 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/1.126, allocations: 34.23 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.126, allocations: 9.109 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/1.126, allocations: 32.08 kB / 1.134 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/1.126, allocations: 10.23 kB / 1.134 GB, free: 13.8 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.0001541/1.126, allocations: 145.5 kB / 1.134 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.126, allocations: 25.75 kB / 1.134 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/1.127, allocations: 149.3 kB / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.127, allocations: 6.938 kB / 1.134 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.127, allocations: 0 / 1.134 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.127, allocations: 5.016 kB / 1.134 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008456/1.128, allocations: 0.769 MB / 1.135 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.128, allocations: 3 kB / 1.135 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/1.128, allocations: 31.83 kB / 1.135 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.128, allocations: 2.906 kB / 1.135 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.128, allocations: 5.75 kB / 1.135 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.128, allocations: 1.844 kB / 1.135 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.128, allocations: 3.25 kB / 1.135 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/1.128, allocations: 353.5 kB / 1.135 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/1.129, allocations: 109 kB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/1.129, allocations: 8.812 kB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.129, allocations: 11.23 kB / 1.136 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/1.129, allocations: 14.61 kB / 1.136 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.129, allocations: 2.938 kB / 1.136 GB, free: 12.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002507/1.129, allocations: 212 kB / 1.136 GB, free: 12.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.129, allocations: 0 / 1.136 GB, free: 12.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004055/1.129, allocations: 49.81 kB / 1.136 GB, free: 12.56 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.001458/1.131, allocations: 0.9288 MB / 1.137 GB, free: 11.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004311/1.131, allocations: 130.7 kB / 1.137 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.131, allocations: 1.859 kB / 1.137 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/1.132, allocations: 70.45 kB / 1.137 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/1.132, allocations: 124.1 kB / 1.137 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/1.135, allocations: 1.488 MB / 1.138 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/1.135, allocations: 0.7576 MB / 1.139 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001936/1.136, allocations: 49.91 kB / 1.139 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.136, allocations: 70.22 kB / 1.139 GB, free: 10.42 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/1.136, allocations: 0 / 1.139 GB, free: 10.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/1.157, allocations: 6.344 MB / 1.145 GB, free: 7.992 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.157, allocations: 226.7 kB / 1.146 GB, free: 7.758 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/3.195, allocations: 5 kB / 1.146 GB, free: 7.754 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)