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.536/1.536, allocations: 288.4 MB / 303.6 MB, free: 8.039 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.0009268/0.0009269, allocations: 190.2 kB / 372.3 MB, free: 10.09 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.349/1.349, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0006786/0.0006787, allocations: 94.23 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.000392, allocations: 17.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1928, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5921/0.7849, allocations: 146.5 MB / 1.123 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.7897, allocations: 4.226 MB / 1.127 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.79, allocations: 8.562 kB / 1.127 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.7904, allocations: 83.91 kB / 1.127 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008414/0.7912, allocations: 292.3 kB / 1.128 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.792, allocations: 230.1 kB / 1.128 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007574/0.7928, allocations: 0.6779 MB / 1.129 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.7931, allocations: 167.5 kB / 1.129 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.794, allocations: 409.2 kB / 1.129 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.7943, allocations: 188.7 kB / 1.129 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.7943, allocations: 8.969 kB / 1.129 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.7945, allocations: 70.77 kB / 1.129 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.7946, allocations: 79.47 kB / 1.13 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.7947, allocations: 133.8 kB / 1.13 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.795, allocations: 204 kB / 1.13 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.795, allocations: 4 kB / 1.13 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.795, allocations: 0 / 1.13 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.795, allocations: 0 / 1.13 GB, free: 1.18 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.0007746/0.7958, allocations: 0.4933 MB / 1.13 GB, free: 16.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7959, allocations: 9.375 kB / 1.13 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.7959, allocations: 52.31 kB / 1.13 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.796, allocations: 33.84 kB / 1.13 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.7963, allocations: 280.5 kB / 1.131 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7964, allocations: 14 kB / 1.131 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.7964, allocations: 18.75 kB / 1.131 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.7968, allocations: 264 kB / 1.131 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7969, allocations: 1.719 kB / 1.131 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.7969, allocations: 12.03 kB / 1.131 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.7969, allocations: 4.625 kB / 1.131 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.7972, allocations: 155.5 kB / 1.131 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.7985, allocations: 1.376 MB / 1.132 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.7988, allocations: 190.8 kB / 1.133 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.799, allocations: 101.8 kB / 1.133 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.7993, allocations: 128.5 kB / 1.133 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.7994, allocations: 50.8 kB / 1.133 GB, free: 14.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.7994, allocations: 0 / 1.133 GB, free: 14.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005829/0.8, allocations: 221.5 kB / 1.133 GB, free: 14.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.8001, allocations: 187.3 kB / 1.133 GB, free: 14.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.8004, allocations: 287.4 kB / 1.134 GB, free: 14.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.8004, allocations: 28.95 kB / 1.134 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.8005, allocations: 149.2 kB / 1.134 GB, free: 14.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.8006, allocations: 38.83 kB / 1.134 GB, free: 14.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.8006, allocations: 2.5 kB / 1.134 GB, free: 14.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8007, allocations: 334 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.8009, allocations: 55.64 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.801, allocations: 126.5 kB / 1.134 GB, free: 13.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.8013, allocations: 164.6 kB / 1.134 GB, free: 13.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8013, allocations: 0 / 1.134 GB, free: 13.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003577/0.8017, allocations: 198.7 kB / 1.135 GB, free: 13.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.8017, allocations: 9 kB / 1.135 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8018, allocations: 2.938 kB / 1.135 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8018, allocations: 5.734 kB / 1.135 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.8019, allocations: 33.14 kB / 1.135 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8019, allocations: 6.688 kB / 1.135 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.8021, allocations: 35.05 kB / 1.135 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.8021, allocations: 12.97 kB / 1.135 GB, free: 13.79 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.0001312/0.8023, allocations: 143.5 kB / 1.135 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.8024, allocations: 29.25 kB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.8027, allocations: 141.1 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8028, allocations: 2.75 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8028, allocations: 2.531 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8028, allocations: 4.859 kB / 1.135 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/0.8036, allocations: 0.7716 MB / 1.136 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8036, allocations: 3.312 kB / 1.136 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.8037, allocations: 26.2 kB / 1.136 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.8037, allocations: 0 / 1.136 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.8038, allocations: 5.125 kB / 1.136 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8038, allocations: 160 / 1.136 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.8038, allocations: 14.83 kB / 1.136 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.8043, allocations: 353.8 kB / 1.136 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.8044, allocations: 111.9 kB / 1.136 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.8045, allocations: 6.125 kB / 1.136 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.8046, allocations: 15.22 kB / 1.136 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.8047, allocations: 16.27 kB / 1.136 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.8047, allocations: 5.328 kB / 1.136 GB, free: 12.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001725/0.8049, allocations: 206.2 kB / 1.137 GB, free: 12.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8049, allocations: 96 / 1.137 GB, free: 12.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003059/0.8052, allocations: 64.94 kB / 1.137 GB, free: 12.54 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.0009458/0.8061, allocations: 0.9171 MB / 1.137 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.8065, allocations: 134.7 kB / 1.138 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8065, allocations: 0 / 1.138 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.8066, allocations: 68.38 kB / 1.138 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8077, allocations: 127 kB / 1.138 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.8103, allocations: 1.47 MB / 1.139 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.8107, allocations: 0.7589 MB / 1.14 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.8108, allocations: 51.55 kB / 1.14 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.811, allocations: 67.48 kB / 1.14 GB, free: 10.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.114e-06/0.811, allocations: 0 / 1.14 GB, free: 10.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.455/1.266, allocations: 6.41 MB / 1.146 GB, free: 7.848 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/1.266, allocations: 229.4 kB / 1.147 GB, free: 7.609 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/3.287, allocations: 0 / 1.147 GB, free: 7.609 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)