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.0006946/0.0006949, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007244/0.0007245, allocations: 171.7 kB / 16.58 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6146/0.6146, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 13.09 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3661/0.4812, allocations: 163.1 MB / 0.7162 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007148/0.4884, allocations: 7.29 MB / 0.7233 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.4887, allocations: 15.88 kB / 0.7233 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.4892, allocations: 166.8 kB / 0.7235 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.4909, allocations: 0.8865 MB / 0.7243 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.492, allocations: 0.5337 MB / 0.7248 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.4931, allocations: 1.294 MB / 0.7261 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.4935, allocations: 316.1 kB / 0.7264 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.4946, allocations: 0.6849 MB / 0.7271 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.4951, allocations: 426.5 kB / 0.7275 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.4952, allocations: 20 kB / 0.7275 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009442/0.4961, allocations: 0.5223 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.4963, allocations: 143.6 kB / 0.7282 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.4964, allocations: 109.5 kB / 0.7283 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.4969, allocations: 0.5846 MB / 0.7288 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.497, allocations: 4 kB / 0.7288 GB, free: 10.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.497, allocations: 0 / 0.7288 GB, free: 10.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.497, allocations: 0 / 0.7288 GB, free: 10.74 MB / 0.545 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.0008147/0.4978, allocations: 0.7256 MB / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.4978, allocations: 12.03 kB / 0.7296 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.991e-05/0.4979, allocations: 78.53 kB / 0.7296 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007787/0.4987, allocations: 147.2 kB / 0.7298 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.4992, allocations: 371.7 kB / 0.7301 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.4992, allocations: 32.94 kB / 0.7302 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.4993, allocations: 43.95 kB / 0.7302 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.4999, allocations: 458.4 kB / 0.7306 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4999, allocations: 3.938 kB / 0.7306 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.4999, allocations: 16 kB / 0.7307 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5, allocations: 8 kB / 0.7307 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.5005, allocations: 323.8 kB / 0.731 GB, free: 8.426 MB / 0.545 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.001791/0.5023, allocations: 2.023 MB / 0.7329 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.5026, allocations: 246.4 kB / 0.7332 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.5029, allocations: 148.8 kB / 0.7333 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005235/0.5034, allocations: 323.2 kB / 0.7336 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.5034, allocations: 33.69 kB / 0.7337 GB, free: 5.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.5034, allocations: 4 kB / 0.7337 GB, free: 5.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.0008817/0.5043, allocations: 476.1 kB / 0.7341 GB, free: 4.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.5044, allocations: 51.41 kB / 0.7342 GB, free: 4.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.5047, allocations: 390 kB / 0.7345 GB, free: 4.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.5047, allocations: 29.7 kB / 0.7346 GB, free: 4.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.5049, allocations: 232.2 kB / 0.7348 GB, free: 4.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.505, allocations: 86.75 kB / 0.7349 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.505, allocations: 4 kB / 0.7349 GB, free: 4.141 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5051, allocations: 350.7 kB / 0.7352 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.5053, allocations: 119.9 kB / 0.7353 GB, free: 3.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.5056, allocations: 178.8 kB / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.5058, allocations: 143.8 kB / 0.7356 GB, free: 3.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5058, allocations: 0 / 0.7356 GB, free: 3.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005662/0.5064, allocations: 380.2 kB / 0.736 GB, free: 2.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5064, allocations: 6.188 kB / 0.736 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5064, allocations: 4 kB / 0.736 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5064, allocations: 8.219 kB / 0.736 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.5067, allocations: 59.91 kB / 0.7361 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5067, allocations: 4 kB / 0.7361 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.507, allocations: 55.56 kB / 0.7361 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.507, allocations: 8 kB / 0.7361 GB, free: 2.816 MB / 0.545 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.0001553/0.5072, allocations: 178.2 kB / 0.7363 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.5072, allocations: 43.53 kB / 0.7363 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.5079, allocations: 377.8 kB / 0.7367 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5079, allocations: 0 / 0.7367 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5079, allocations: 0 / 0.7367 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5079, allocations: 7.984 kB / 0.7367 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.5091, allocations: 0.9487 MB / 0.7376 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5091, allocations: 0 / 0.7376 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.5094, allocations: 55.75 kB / 0.7377 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5094, allocations: 8 kB / 0.7377 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.5094, allocations: 8 kB / 0.7377 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5094, allocations: 4 kB / 0.7377 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5094, allocations: 0 / 0.7377 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.5103, allocations: 0.6483 MB / 0.7383 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.5104, allocations: 148.6 kB / 0.7385 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.5105, allocations: 8 kB / 0.7385 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.5107, allocations: 27.97 kB / 0.7385 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.5107, allocations: 27.98 kB / 0.7386 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.5108, allocations: 11.98 kB / 0.7386 GB, free: 192 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002579/0.511, allocations: 283.1 kB / 0.7388 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.511, allocations: 0 / 0.7388 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003916/0.5114, allocations: 111.8 kB / 0.7389 GB, free: 15.8 MB / 0.5606 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.001276/0.5127, allocations: 1.249 MB / 0.7402 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.5132, allocations: 287.6 kB / 0.7404 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5133, allocations: 4 kB / 0.7404 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.5135, allocations: 156.5 kB / 0.7406 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/0.5145, allocations: 214.2 kB / 0.7408 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.5179, allocations: 2.477 MB / 0.7432 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.5182, allocations: 0.8275 MB / 0.744 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.5186, allocations: 99.41 kB / 0.7441 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.5187, allocations: 139.3 kB / 0.7442 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.5187, allocations: 0 / 0.7442 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.5402, allocations: 10.91 MB / 0.7549 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.5404, allocations: 230.4 kB / 0.7551 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.232, allocations: 0 / 0.7551 GB, free: 15.34 MB / 0.5762 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: