Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.002037/0.002037, allocations: 177 kB / 371.8 MB, free: 10.29 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.639/1.639, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0008924/0.0008925, allocations: 105.5 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004269, allocations: 12.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6841/0.9016, allocations: 149.6 MB / 1.126 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009408/0.911, allocations: 6.538 MB / 1.132 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.9123, allocations: 18.81 kB / 1.132 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.9136, allocations: 249.6 kB / 1.132 GB, free: 428 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.9174, allocations: 0.8234 MB / 1.133 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.9197, allocations: 0.5737 MB / 1.134 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.921, allocations: 0.6205 MB / 1.134 GB, free: 332 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.9215, allocations: 331.4 kB / 1.134 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.9234, allocations: 0.6945 MB / 1.135 GB, free: 212 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.9239, allocations: 320.7 kB / 1.135 GB, free: 156 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.924, allocations: 23.34 kB / 1.135 GB, free: 156 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.9254, allocations: 445.5 kB / 1.136 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.9255, allocations: 130.3 kB / 1.136 GB, free: 124 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.9257, allocations: 119.3 kB / 1.136 GB, free: 72 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.9266, allocations: 0.5278 MB / 1.137 GB, free: 0 / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.9266, allocations: 0 / 1.137 GB, free: 0 / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9266, allocations: 3.312 kB / 1.137 GB, free: 0 / 0.6823 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.9266, allocations: 0 / 1.137 GB, free: 0 / 0.6823 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.001189/0.9278, allocations: 0.7081 MB / 1.137 GB, free: 15.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.9279, allocations: 14.88 kB / 1.137 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.641e-05/0.928, allocations: 74.95 kB / 1.137 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.9289, allocations: 157 kB / 1.138 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.9296, allocations: 373.9 kB / 1.138 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.9297, allocations: 26.66 kB / 1.138 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.9298, allocations: 37.75 kB / 1.138 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/0.9306, allocations: 454 kB / 1.138 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.9307, allocations: 1.812 kB / 1.138 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.9307, allocations: 15.66 kB / 1.138 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.9307, allocations: 12.33 kB / 1.138 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.9313, allocations: 331 kB / 1.139 GB, free: 14.77 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.002411/0.9338, allocations: 2.016 MB / 1.141 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.9342, allocations: 240.5 kB / 1.141 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/0.9348, allocations: 144.9 kB / 1.141 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.9348, allocations: 35 kB / 1.141 GB, free: 12.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.224e-06/0.9348, allocations: 0 / 1.141 GB, free: 12.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.00114/0.936, allocations: 471 kB / 1.142 GB, free: 12.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.936, allocations: 54.78 kB / 1.142 GB, free: 12.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.9364, allocations: 395.8 kB / 1.142 GB, free: 12.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.9365, allocations: 32.45 kB / 1.142 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.9367, allocations: 234.6 kB / 1.142 GB, free: 12.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.9368, allocations: 85.95 kB / 1.142 GB, free: 12.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.9368, allocations: 3.438 kB / 1.142 GB, free: 12.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9369, allocations: 354.1 kB / 1.143 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.9372, allocations: 117 kB / 1.143 GB, free: 12.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.9375, allocations: 182.7 kB / 1.143 GB, free: 11.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.9378, allocations: 141 kB / 1.143 GB, free: 11.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9378, allocations: 0 / 1.143 GB, free: 11.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006696/0.9385, allocations: 374.8 kB / 1.143 GB, free: 11.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9385, allocations: 5.812 kB / 1.143 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.9385, allocations: 2.312 kB / 1.143 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.9385, allocations: 3.406 kB / 1.143 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.9388, allocations: 64.31 kB / 1.144 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.9389, allocations: 2.625 kB / 1.144 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.9392, allocations: 59.7 kB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.9392, allocations: 13.25 kB / 1.144 GB, free: 11.74 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.0001843/0.9394, allocations: 167.2 kB / 1.144 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.9395, allocations: 37.97 kB / 1.144 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006994/0.9402, allocations: 386.2 kB / 1.144 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.9402, allocations: 4.281 kB / 1.144 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9402, allocations: 0 / 1.144 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.9402, allocations: 6.984 kB / 1.144 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.9418, allocations: 0.9486 MB / 1.145 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9418, allocations: 2.031 kB / 1.145 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.9421, allocations: 50.05 kB / 1.145 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.9421, allocations: 6.562 kB / 1.145 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.9421, allocations: 15.59 kB / 1.145 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.9421, allocations: 2.719 kB / 1.145 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.9421, allocations: 2.5 kB / 1.145 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.9432, allocations: 0.7315 MB / 1.146 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.9434, allocations: 149.9 kB / 1.146 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.9435, allocations: 6.312 kB / 1.146 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.9437, allocations: 34.88 kB / 1.146 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.9438, allocations: 19.52 kB / 1.146 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.9439, allocations: 7.875 kB / 1.146 GB, free: 10.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003153/0.9442, allocations: 281.8 kB / 1.146 GB, free: 10.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9442, allocations: 0 / 1.146 GB, free: 10.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005106/0.9447, allocations: 108.5 kB / 1.146 GB, free: 10.23 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.001875/0.9466, allocations: 1.817 MB / 1.148 GB, free: 8.797 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006556/0.9472, allocations: 300.7 kB / 1.149 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9473, allocations: 0 / 1.149 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.9476, allocations: 155.2 kB / 1.149 GB, free: 8.703 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.9486, allocations: 219.8 kB / 1.149 GB, free: 8.621 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.953, allocations: 3.487 MB / 1.152 GB, free: 6.352 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.9535, allocations: 0.8483 MB / 1.153 GB, free: 5.574 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004197/0.954, allocations: 95.22 kB / 1.153 GB, free: 5.535 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.9542, allocations: 138.2 kB / 1.153 GB, free: 5.516 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/0.9542, allocations: 0 / 1.153 GB, free: 5.516 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.9889, allocations: 10.91 MB / 1.164 GB, free: 300 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/0.9893, allocations: 246.2 kB / 1.164 GB, free: 44 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.322, allocations: 1.969 kB / 1.164 GB, free: 44 kB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)