Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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.001493/0.001494, allocations: 96.27 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 176.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.534/2.534, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.103/1.103, allocations: 113.7 MB / 405.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.00052, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2716, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8749/1.147, allocations: 149.5 MB / 0.7027 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01482/1.162, allocations: 6.544 MB / 0.7091 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009587/1.163, allocations: 15.88 kB / 0.7092 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/1.164, allocations: 254.8 kB / 0.7094 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004126/1.168, allocations: 0.8217 MB / 0.7102 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/1.171, allocations: 0.5774 MB / 0.7108 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001907/1.173, allocations: 0.6207 MB / 0.7114 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008521/1.174, allocations: 334.8 kB / 0.7117 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/1.177, allocations: 0.6972 MB / 0.7124 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/1.178, allocations: 318.9 kB / 0.7127 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/1.178, allocations: 20 kB / 0.7127 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/1.181, allocations: 439.4 kB / 0.7131 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002862/1.181, allocations: 139.6 kB / 0.7132 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003092/1.181, allocations: 113.5 kB / 0.7134 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/1.183, allocations: 0.5167 MB / 0.7139 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.183, allocations: 4 kB / 0.7139 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.484e-06/1.183, allocations: 0 / 0.7139 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.183, allocations: 0 / 0.7139 GB, free: 9.203 MB / 0.5294 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.001842/1.184, allocations: 0.7061 MB / 0.7145 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/1.185, allocations: 8.031 kB / 0.7146 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/1.185, allocations: 74.53 kB / 0.7146 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/1.186, allocations: 159.2 kB / 0.7148 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/1.187, allocations: 367.6 kB / 0.7151 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/1.188, allocations: 29 kB / 0.7152 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/1.188, allocations: 39.95 kB / 0.7152 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.189, allocations: 446.4 kB / 0.7156 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/1.189, allocations: 3.938 kB / 0.7156 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/1.189, allocations: 16 kB / 0.7156 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/1.189, allocations: 12 kB / 0.7157 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/1.19, allocations: 327.8 kB / 0.716 GB, free: 6.918 MB / 0.5294 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.003715/1.194, allocations: 2.019 MB / 0.7179 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/1.194, allocations: 242.4 kB / 0.7182 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/1.195, allocations: 149 kB / 0.7183 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/1.195, allocations: 34.56 kB / 0.7183 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=24): time 4.639e-06/1.195, allocations: 0 / 0.7183 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24): time 0.00174/1.197, allocations: 468.1 kB / 0.7188 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/1.197, allocations: 55.41 kB / 0.7188 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/1.198, allocations: 390 kB / 0.7192 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/1.198, allocations: 33.7 kB / 0.7192 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/1.198, allocations: 232.2 kB / 0.7195 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/1.198, allocations: 82.77 kB / 0.7195 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/1.198, allocations: 4 kB / 0.7196 GB, free: 3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002244/1.199, allocations: 354.8 kB / 0.7199 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/1.199, allocations: 115.9 kB / 0.72 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/1.199, allocations: 186.7 kB / 0.7202 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/1.2, allocations: 139.8 kB / 0.7203 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.2, allocations: 3.953 kB / 0.7203 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001041/1.201, allocations: 380.4 kB / 0.7207 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.201, allocations: 4 kB / 0.7207 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.201, allocations: 4 kB / 0.7207 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.201, allocations: 4 kB / 0.7207 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/1.201, allocations: 59.91 kB / 0.7207 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.202, allocations: 0 / 0.7207 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/1.202, allocations: 60.45 kB / 0.7208 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/1.202, allocations: 12 kB / 0.7208 GB, free: 1.668 MB / 0.5294 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.0002744/1.202, allocations: 168.1 kB / 0.721 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.202, allocations: 43.48 kB / 0.721 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.204, allocations: 385.8 kB / 0.7214 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.204, allocations: 0 / 0.7214 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.204, allocations: 4 kB / 0.7214 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.204, allocations: 3.984 kB / 0.7214 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/1.206, allocations: 0.958 MB / 0.7223 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.206, allocations: 4 kB / 0.7223 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/1.207, allocations: 44.03 kB / 0.7224 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/1.207, allocations: 4 kB / 0.7224 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/1.207, allocations: 11.98 kB / 0.7224 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/1.207, allocations: 4 kB / 0.7224 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.207, allocations: 224 / 0.7224 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.209, allocations: 0.7355 MB / 0.7231 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/1.209, allocations: 148.5 kB / 0.7233 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/1.209, allocations: 0 / 0.7233 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/1.21, allocations: 35.98 kB / 0.7233 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.21, allocations: 23.92 kB / 0.7233 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/1.21, allocations: 8 kB / 0.7233 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005101/1.21, allocations: 279.1 kB / 0.7236 GB, free: 14.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/1.21, allocations: 4 kB / 0.7236 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008408/1.211, allocations: 103.8 kB / 0.7237 GB, free: 14.53 MB / 0.545 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.002669/1.214, allocations: 1.823 MB / 0.7255 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001027/1.215, allocations: 295.6 kB / 0.7257 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.215, allocations: 0 / 0.7257 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/1.215, allocations: 156.7 kB / 0.7259 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.217, allocations: 207.5 kB / 0.7261 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00693/1.224, allocations: 3.494 MB / 0.7295 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/1.225, allocations: 0.8392 MB / 0.7303 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006874/1.225, allocations: 95.41 kB / 0.7304 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/1.226, allocations: 143.2 kB / 0.7306 GB, free: 7.324 MB / 0.545 GB Notification: Performance of SimCode: time 2.134e-06/1.226, allocations: 0 / 0.7306 GB, free: 7.324 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07596/1.302, allocations: 10.91 MB / 0.7412 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003163/1.302, allocations: 221.3 kB / 0.7414 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/4.742, allocations: 64 / 0.7414 GB, free: 12.44 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: