Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.129/3.129, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001544/0.001544, allocations: 174 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001034/0.001034, allocations: 99.77 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005252/0.0005253, allocations: 13.58 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2277, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 1.043/1.271, allocations: 152.2 MB / 1.127 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01206/1.283, allocations: 6.08 MB / 1.133 GB, free: 240 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/1.283, allocations: 9.719 kB / 1.133 GB, free: 236 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008409/1.284, allocations: 118.7 kB / 1.133 GB, free: 188 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003018/1.287, allocations: 0.5961 MB / 1.134 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/1.289, allocations: 273.9 kB / 1.134 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001751/1.291, allocations: 0.8623 MB / 1.135 GB, free: 15.74 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/1.292, allocations: 206.6 kB / 1.135 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/1.294, allocations: 462 kB / 1.135 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/1.295, allocations: 255.1 kB / 1.136 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/1.295, allocations: 14.88 kB / 1.136 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/1.296, allocations: 204.1 kB / 1.136 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/1.296, allocations: 100.7 kB / 1.136 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/1.296, allocations: 86.39 kB / 1.136 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008469/1.297, allocations: 309.2 kB / 1.136 GB, free: 15.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.297, allocations: 0 / 1.136 GB, free: 15.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.786e-06/1.297, allocations: 4 kB / 1.136 GB, free: 15.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.297, allocations: 0 / 1.136 GB, free: 15.38 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001312/1.299, allocations: 0.5629 MB / 1.137 GB, free: 14.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.343e-05/1.299, allocations: 8.906 kB / 1.137 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/1.299, allocations: 64.17 kB / 1.137 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/1.299, allocations: 59.56 kB / 1.137 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/1.3, allocations: 307.1 kB / 1.137 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/1.3, allocations: 20.55 kB / 1.137 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/1.3, allocations: 28.16 kB / 1.137 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/1.301, allocations: 323.9 kB / 1.138 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.301, allocations: 1.406 kB / 1.138 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/1.301, allocations: 10.31 kB / 1.138 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/1.301, allocations: 6.125 kB / 1.138 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/1.302, allocations: 209.4 kB / 1.138 GB, free: 14.51 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/1.305, allocations: 1.545 MB / 1.139 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/1.305, allocations: 121 kB / 1.14 GB, free: 13.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/1.306, allocations: 97.44 kB / 1.14 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009986/1.307, allocations: 317.7 kB / 1.14 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.307, allocations: 30.56 kB / 1.14 GB, free: 12.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.795e-06/1.307, allocations: 0 / 1.14 GB, free: 12.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001286/1.308, allocations: 288.3 kB / 1.14 GB, free: 12.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/1.308, allocations: 56.44 kB / 1.14 GB, free: 12.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/1.309, allocations: 313.4 kB / 1.141 GB, free: 12.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/1.309, allocations: 25.7 kB / 1.141 GB, free: 12.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.309, allocations: 185.9 kB / 1.141 GB, free: 12.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/1.309, allocations: 50.11 kB / 1.141 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/1.309, allocations: 3 kB / 1.141 GB, free: 12.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.309, allocations: 336.7 kB / 1.141 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/1.309, allocations: 60.58 kB / 1.141 GB, free: 12.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/1.31, allocations: 123.9 kB / 1.141 GB, free: 12.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/1.31, allocations: 77.25 kB / 1.141 GB, free: 12.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.31, allocations: 7.953 kB / 1.141 GB, free: 12.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000819/1.311, allocations: 221.8 kB / 1.142 GB, free: 12.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/1.311, allocations: 5.625 kB / 1.142 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.311, allocations: 5.875 kB / 1.142 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.311, allocations: 6.531 kB / 1.142 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/1.311, allocations: 37.03 kB / 1.142 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.311, allocations: 2.344 kB / 1.142 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/1.312, allocations: 35.92 kB / 1.142 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/1.312, allocations: 11.12 kB / 1.142 GB, free: 12.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0002756/1.312, allocations: 153.6 kB / 1.142 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/1.312, allocations: 32.7 kB / 1.142 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007835/1.313, allocations: 214.2 kB / 1.142 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.313, allocations: 9.781 kB / 1.142 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.313, allocations: 3.125 kB / 1.142 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/1.313, allocations: 5.594 kB / 1.142 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/1.315, allocations: 0.6855 MB / 1.143 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.315, allocations: 4.531 kB / 1.143 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/1.315, allocations: 33.06 kB / 1.143 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/1.315, allocations: 2.656 kB / 1.143 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.315, allocations: 8.062 kB / 1.143 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/1.315, allocations: 5.906 kB / 1.143 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.315, allocations: 2.828 kB / 1.143 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/1.316, allocations: 352 kB / 1.143 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/1.316, allocations: 119.8 kB / 1.143 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/1.316, allocations: 6.656 kB / 1.143 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/1.317, allocations: 20.75 kB / 1.143 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/1.317, allocations: 12.11 kB / 1.143 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/1.317, allocations: 10.2 kB / 1.143 GB, free: 11.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000383/1.317, allocations: 218.6 kB / 1.144 GB, free: 11.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.317, allocations: 5.281 kB / 1.144 GB, free: 11.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006522/1.318, allocations: 73.28 kB / 1.144 GB, free: 11.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.00173/1.32, allocations: 0.9251 MB / 1.145 GB, free: 10.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007655/1.321, allocations: 165.5 kB / 1.145 GB, free: 10.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.321, allocations: 0 / 1.145 GB, free: 10.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/1.321, allocations: 91.97 kB / 1.145 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.323, allocations: 147.3 kB / 1.145 GB, free: 10.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/1.327, allocations: 1.669 MB / 1.147 GB, free: 9.613 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/1.328, allocations: 0.7803 MB / 1.147 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004731/1.328, allocations: 69.44 kB / 1.147 GB, free: 8.898 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.329, allocations: 90.77 kB / 1.147 GB, free: 8.891 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/1.329, allocations: 0 / 1.147 GB, free: 8.891 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/1.377, allocations: 7.534 MB / 1.155 GB, free: 5.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003814/1.377, allocations: 226 kB / 1.155 GB, free: 5.242 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/4.133, allocations: 5.797 kB / 1.155 GB, free: 5.238 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)