Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005691, allocations: 18.78 kB / 0.6738 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2916, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6471/0.9388, allocations: 163.1 MB / 0.9467 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009783/0.9486, allocations: 7.269 MB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.9495, allocations: 18.25 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008212/0.9504, allocations: 173.3 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.9538, allocations: 0.8813 MB / 0.9548 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.9557, allocations: 0.5354 MB / 0.9554 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.9576, allocations: 1.31 MB / 0.9566 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000592/0.9582, allocations: 314 kB / 0.9569 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.9598, allocations: 0.6883 MB / 0.9576 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.9605, allocations: 417.5 kB / 0.958 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.9606, allocations: 21.84 kB / 0.958 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.9623, allocations: 0.5318 MB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.9625, allocations: 139.1 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.963, allocations: 111.8 kB / 0.9588 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.9642, allocations: 0.5851 MB / 0.9594 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.9642, allocations: 0 / 0.9594 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9642, allocations: 0 / 0.9594 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.9642, allocations: 0 / 0.9594 GB, free: 19.94 MB / 0.7325 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.001688/0.9659, allocations: 0.7273 MB / 0.9601 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.966, allocations: 13.02 kB / 0.9601 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.9661, allocations: 72.91 kB / 0.9602 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.9672, allocations: 152 kB / 0.9603 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.9678, allocations: 380 kB / 0.9607 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.9679, allocations: 25.41 kB / 0.9607 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.9679, allocations: 43.8 kB / 0.9607 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.9687, allocations: 448.4 kB / 0.9612 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.9688, allocations: 3.938 kB / 0.9612 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.9688, allocations: 14.56 kB / 0.9612 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.9688, allocations: 10.28 kB / 0.9612 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.9695, allocations: 328 kB / 0.9615 GB, free: 18.95 MB / 0.7325 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.002296/0.9718, allocations: 2.019 MB / 0.9635 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.9722, allocations: 241.8 kB / 0.9637 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.9725, allocations: 155.5 kB / 0.9638 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006194/0.9731, allocations: 328.4 kB / 0.9642 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.9732, allocations: 34.48 kB / 0.9642 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.9732, allocations: 0 / 0.9642 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001057/0.9742, allocations: 465.3 kB / 0.9646 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.9743, allocations: 57.52 kB / 0.9647 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.9748, allocations: 395 kB / 0.9651 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.9748, allocations: 29.7 kB / 0.9651 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.975, allocations: 229.5 kB / 0.9653 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.9751, allocations: 93.19 kB / 0.9654 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.9751, allocations: 4.625 kB / 0.9654 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9752, allocations: 356.5 kB / 0.9657 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.9755, allocations: 113 kB / 0.9659 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.9757, allocations: 186.4 kB / 0.966 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.976, allocations: 133.2 kB / 0.9662 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.976, allocations: 1.219 kB / 0.9662 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006777/0.9767, allocations: 380.3 kB / 0.9665 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.9767, allocations: 6.562 kB / 0.9665 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.9768, allocations: 1.062 kB / 0.9665 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.9768, allocations: 3.688 kB / 0.9665 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.9771, allocations: 60.44 kB / 0.9666 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.9771, allocations: 3.469 kB / 0.9666 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.9774, allocations: 66.05 kB / 0.9667 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.9775, allocations: 13.59 kB / 0.9667 GB, free: 16.26 MB / 0.7325 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.000198/0.9777, allocations: 162.7 kB / 0.9668 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.9778, allocations: 40.97 kB / 0.9669 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.9785, allocations: 380.7 kB / 0.9672 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.9785, allocations: 3.125 kB / 0.9672 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9785, allocations: 3.594 kB / 0.9672 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9786, allocations: 1.125 kB / 0.9672 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.98, allocations: 0.9496 MB / 0.9682 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.98, allocations: 4.172 kB / 0.9682 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.9803, allocations: 51.7 kB / 0.9682 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.9803, allocations: 7.266 kB / 0.9682 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.9803, allocations: 7.938 kB / 0.9682 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.9803, allocations: 2.281 kB / 0.9682 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.9803, allocations: 2.375 kB / 0.9682 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.9812, allocations: 0.6538 MB / 0.9689 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.9814, allocations: 147.4 kB / 0.969 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.9815, allocations: 9.953 kB / 0.969 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.9818, allocations: 28.47 kB / 0.9691 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.9819, allocations: 23.27 kB / 0.9691 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.9819, allocations: 8.25 kB / 0.9691 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002994/0.9822, allocations: 279.7 kB / 0.9693 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9822, allocations: 1.859 kB / 0.9693 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005464/0.9828, allocations: 110.9 kB / 0.9695 GB, free: 15.22 MB / 0.7325 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.001487/0.9843, allocations: 1.249 MB / 0.9707 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000607/0.9849, allocations: 301.7 kB / 0.971 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9849, allocations: 0 / 0.971 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.9852, allocations: 154.8 kB / 0.9711 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.9863, allocations: 212.4 kB / 0.9713 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.9901, allocations: 2.479 MB / 0.9737 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.9905, allocations: 0.8335 MB / 0.9745 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003905/0.9909, allocations: 97.62 kB / 0.9746 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.9911, allocations: 137.8 kB / 0.9748 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.9911, allocations: 0 / 0.9748 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/1.02, allocations: 10.92 MB / 0.9854 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.02, allocations: 230.1 kB / 0.9857 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/3.11, allocations: 0 / 0.9857 GB, free: 8.121 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: