Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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 2.779/2.779, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001366/0.001366, allocations: 182.7 kB / 371 MB, free: 10.86 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.232/2.232, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009964/0.0009961, allocations: 88.91 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005131, allocations: 16 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2372, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 1.159/1.396, allocations: 163.1 MB / 1.138 GB, free: 14.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01494/1.411, allocations: 7.278 MB / 1.145 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009988/1.412, allocations: 18.03 kB / 1.145 GB, free: 11.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/1.413, allocations: 167.7 kB / 1.145 GB, free: 11.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/1.418, allocations: 0.8856 MB / 1.146 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/1.421, allocations: 0.5357 MB / 1.146 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002735/1.423, allocations: 1.302 MB / 1.148 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/1.425, allocations: 325 kB / 1.148 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/1.428, allocations: 0.6808 MB / 1.149 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/1.429, allocations: 425.9 kB / 1.149 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/1.429, allocations: 21.62 kB / 1.149 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/1.432, allocations: 0.5289 MB / 1.15 GB, free: 10.65 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004735/1.433, allocations: 141.3 kB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/1.433, allocations: 110.3 kB / 1.15 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/1.435, allocations: 0.585 MB / 1.15 GB, free: 10.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/1.435, allocations: 0 / 1.15 GB, free: 10.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.435, allocations: 0.9688 kB / 1.15 GB, free: 10.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.435, allocations: 0 / 1.15 GB, free: 10.24 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001909/1.437, allocations: 0.7299 MB / 1.151 GB, free: 9.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.437, allocations: 9.406 kB / 1.151 GB, free: 9.645 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/1.437, allocations: 75.78 kB / 1.151 GB, free: 9.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/1.439, allocations: 156.2 kB / 1.151 GB, free: 9.531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/1.44, allocations: 364.7 kB / 1.152 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/1.44, allocations: 29.09 kB / 1.152 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/1.44, allocations: 38.94 kB / 1.152 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.441, allocations: 453.9 kB / 1.152 GB, free: 9.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.442, allocations: 1.281 kB / 1.152 GB, free: 9.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/1.442, allocations: 20.25 kB / 1.152 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/1.442, allocations: 9.469 kB / 1.152 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/1.443, allocations: 329.2 kB / 1.153 GB, free: 8.992 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.004115/1.447, allocations: 2.024 MB / 1.155 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/1.448, allocations: 233.8 kB / 1.155 GB, free: 7.316 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/1.448, allocations: 158.2 kB / 1.155 GB, free: 7.281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.449, allocations: 331.7 kB / 1.155 GB, free: 6.961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/1.449, allocations: 35.16 kB / 1.155 GB, free: 6.922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.645e-06/1.449, allocations: 0 / 1.155 GB, free: 6.922 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.001915/1.451, allocations: 469.7 kB / 1.156 GB, free: 6.797 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/1.451, allocations: 53.62 kB / 1.156 GB, free: 6.734 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/1.452, allocations: 395.3 kB / 1.156 GB, free: 6.562 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/1.452, allocations: 31.48 kB / 1.156 GB, free: 6.531 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/1.453, allocations: 229.8 kB / 1.156 GB, free: 6.391 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.453, allocations: 85.42 kB / 1.156 GB, free: 6.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/1.453, allocations: 3.5 kB / 1.156 GB, free: 6.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.453, allocations: 356.6 kB / 1.157 GB, free: 6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/1.453, allocations: 110.5 kB / 1.157 GB, free: 5.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/1.454, allocations: 190.8 kB / 1.157 GB, free: 5.887 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/1.454, allocations: 137.8 kB / 1.157 GB, free: 5.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.455, allocations: 0.9688 kB / 1.157 GB, free: 5.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00126/1.456, allocations: 375.7 kB / 1.158 GB, free: 5.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/1.456, allocations: 5.344 kB / 1.158 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.456, allocations: 2.656 kB / 1.158 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/1.456, allocations: 2.562 kB / 1.158 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/1.456, allocations: 62.19 kB / 1.158 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.456, allocations: 7.109 kB / 1.158 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/1.457, allocations: 60.81 kB / 1.158 GB, free: 5.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/1.457, allocations: 11.62 kB / 1.158 GB, free: 5.699 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 (31): * Single equations (assignments): 31 * 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.000346/1.458, allocations: 164.4 kB / 1.158 GB, free: 5.578 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/1.458, allocations: 42.84 kB / 1.158 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/1.459, allocations: 379.7 kB / 1.158 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/1.459, allocations: 2.312 kB / 1.158 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/1.459, allocations: 1.438 kB / 1.158 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.459, allocations: 7.938 kB / 1.158 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/1.462, allocations: 0.9494 MB / 1.159 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.462, allocations: 5.266 kB / 1.159 GB, free: 4.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/1.462, allocations: 49.92 kB / 1.159 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.462, allocations: 2.562 kB / 1.159 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/1.462, allocations: 10.11 kB / 1.159 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/1.462, allocations: 2.938 kB / 1.159 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.462, allocations: 2.406 kB / 1.159 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/1.464, allocations: 0.6469 MB / 1.16 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/1.465, allocations: 152 kB / 1.16 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.096e-05/1.465, allocations: 7.094 kB / 1.16 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/1.465, allocations: 29.88 kB / 1.16 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.465, allocations: 21.05 kB / 1.16 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/1.466, allocations: 10.56 kB / 1.16 GB, free: 4.434 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005352/1.466, allocations: 274.6 kB / 1.16 GB, free: 4.312 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.466, allocations: 0 / 1.16 GB, free: 4.312 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008935/1.467, allocations: 121 kB / 1.161 GB, free: 4.285 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.002693/1.47, allocations: 1.265 MB / 1.162 GB, free: 3.273 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00115/1.471, allocations: 295.7 kB / 1.162 GB, free: 3.145 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.471, allocations: 1.219 kB / 1.162 GB, free: 3.145 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/1.472, allocations: 153.2 kB / 1.162 GB, free: 3.078 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/1.474, allocations: 209.3 kB / 1.162 GB, free: 2.973 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/1.481, allocations: 2.468 MB / 1.165 GB, free: 1.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/1.481, allocations: 0.8302 MB / 1.166 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007148/1.482, allocations: 91.38 kB / 1.166 GB, free: 0.582 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.483, allocations: 137 kB / 1.166 GB, free: 484 kB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/1.483, allocations: 1.406 kB / 1.166 GB, free: 484 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/1.53, allocations: 10.95 MB / 1.176 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003665/1.531, allocations: 234.9 kB / 1.177 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/4.604, allocations: 3.938 kB / 1.177 GB, free: 10.98 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)