Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001086, allocations: 188.4 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 94.2 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003433, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1853/0.4426, allocations: 157.2 MB / 1.054 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6249/1.068, allocations: 4.536 MB / 1.059 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/1.068, allocations: 11 kB / 1.059 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/1.068, allocations: 100.7 kB / 1.059 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009287/1.069, allocations: 305.3 kB / 1.059 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/1.07, allocations: 249.7 kB / 1.059 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008139/1.071, allocations: 0.7889 MB / 1.06 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/1.071, allocations: 163.1 kB / 1.06 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/1.072, allocations: 425.3 kB / 1.061 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/1.073, allocations: 195.6 kB / 1.061 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/1.073, allocations: 8.812 kB / 1.061 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/1.073, allocations: 64.91 kB / 1.061 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/1.073, allocations: 82.64 kB / 1.061 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/1.073, allocations: 133.2 kB / 1.061 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004135/1.074, allocations: 274.6 kB / 1.062 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.074, allocations: 0 / 1.062 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/1.074, allocations: 4 kB / 1.062 GB, free: 1.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.074, allocations: 2.906 kB / 1.062 GB, free: 1.848 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.001021/1.075, allocations: 0.49 MB / 1.062 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.075, allocations: 8.062 kB / 1.062 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/1.075, allocations: 51.47 kB / 1.062 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/1.075, allocations: 30.2 kB / 1.062 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/1.075, allocations: 285.2 kB / 1.062 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.075, allocations: 11.77 kB / 1.062 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/1.075, allocations: 25.25 kB / 1.062 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/1.076, allocations: 264.7 kB / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.076, allocations: 0 / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/1.076, allocations: 9.594 kB / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.076, allocations: 5.875 kB / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/1.076, allocations: 163.9 kB / 1.063 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/1.078, allocations: 1.378 MB / 1.064 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/1.078, allocations: 183.3 kB / 1.064 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/1.078, allocations: 103.9 kB / 1.064 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/1.079, allocations: 131.3 kB / 1.065 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.079, allocations: 40.39 kB / 1.065 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/1.079, allocations: 0 / 1.065 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006689/1.079, allocations: 219.2 kB / 1.065 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/1.079, allocations: 194.1 kB / 1.065 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/1.08, allocations: 288.2 kB / 1.065 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.08, allocations: 29.36 kB / 1.065 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.08, allocations: 139.9 kB / 1.065 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/1.08, allocations: 47.2 kB / 1.065 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/1.08, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.08, allocations: 339.3 kB / 1.066 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/1.08, allocations: 53.3 kB / 1.066 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/1.08, allocations: 115.5 kB / 1.066 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/1.081, allocations: 166.4 kB / 1.066 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/1.081, allocations: 2.656 kB / 1.066 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003726/1.081, allocations: 196.4 kB / 1.066 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.081, allocations: 6.531 kB / 1.066 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.081, allocations: 2.938 kB / 1.066 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.081, allocations: 3.297 kB / 1.066 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/1.081, allocations: 37.38 kB / 1.066 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/1.081, allocations: 3.703 kB / 1.066 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.082, allocations: 30.12 kB / 1.066 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/1.082, allocations: 13.53 kB / 1.066 GB, free: 14.55 MB / 0.7136 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.0001613/1.082, allocations: 151.6 kB / 1.067 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/1.082, allocations: 24.62 kB / 1.067 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/1.082, allocations: 140.8 kB / 1.067 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.082, allocations: 3.156 kB / 1.067 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.082, allocations: 6.562 kB / 1.067 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.082, allocations: 4.672 kB / 1.067 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000911/1.083, allocations: 0.7682 MB / 1.067 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.083, allocations: 1.125 kB / 1.067 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/1.083, allocations: 24.08 kB / 1.067 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.083, allocations: 6.672 kB / 1.067 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.083, allocations: 3.906 kB / 1.068 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.083, allocations: 7.453 kB / 1.068 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.083, allocations: 0 / 1.068 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/1.084, allocations: 359.7 kB / 1.068 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/1.084, allocations: 113.1 kB / 1.068 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/1.084, allocations: 5.172 kB / 1.068 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/1.084, allocations: 18.36 kB / 1.068 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/1.084, allocations: 13.19 kB / 1.068 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.084, allocations: 3.734 kB / 1.068 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002555/1.085, allocations: 208.9 kB / 1.068 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.085, allocations: 1.859 kB / 1.068 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003414/1.085, allocations: 54.88 kB / 1.068 GB, free: 13.34 MB / 0.7136 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.001087/1.086, allocations: 0.9283 MB / 1.069 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003659/1.087, allocations: 137.8 kB / 1.069 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.087, allocations: 0 / 1.069 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.087, allocations: 67.42 kB / 1.069 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/1.088, allocations: 122.2 kB / 1.069 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/1.092, allocations: 2.693 MB / 1.072 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/1.092, allocations: 0.7524 MB / 1.073 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002211/1.092, allocations: 56.81 kB / 1.073 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/1.092, allocations: 66.11 kB / 1.073 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.092, allocations: 0 / 1.073 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/1.116, allocations: 6.248 MB / 1.079 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.116, allocations: 257.7 kB / 1.079 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/3.237, allocations: 0 / 1.079 GB, free: 9.578 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)