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.001264/0.001264, allocations: 104 kB / 15.98 MB, free: 6.352 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.002052/0.002052, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.255/1.255, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6696/0.6696, allocations: 115.3 MB / 406.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3055, allocations: 76.17 MB / 0.556 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.167/0.4725, allocations: 177 MB / 0.7289 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008538/0.4811, allocations: 7.782 MB / 0.7365 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.4817, allocations: 19.88 kB / 0.7365 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.4824, allocations: 202.8 kB / 0.7367 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.4853, allocations: 1.156 MB / 0.7378 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.4869, allocations: 0.6635 MB / 0.7385 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.4881, allocations: 1.079 MB / 0.7395 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006185/0.4888, allocations: 401.3 kB / 0.7399 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.4914, allocations: 0.8136 MB / 0.7407 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007439/0.4922, allocations: 470.4 kB / 0.7412 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.4923, allocations: 36 kB / 0.7412 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.4939, allocations: 0.9819 MB / 0.7421 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.494, allocations: 163.5 kB / 0.7423 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.4943, allocations: 246.8 kB / 0.7425 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.4959, allocations: 0.9815 MB / 0.7435 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.496, allocations: 0 / 0.7435 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.496, allocations: 0 / 0.7435 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.496, allocations: 0 / 0.7435 GB, free: 4.047 MB / 0.5762 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.001236/0.4972, allocations: 0.8065 MB / 0.7443 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4973, allocations: 12.03 kB / 0.7443 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.4974, allocations: 78.47 kB / 0.7444 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.4983, allocations: 151.2 kB / 0.7445 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.4988, allocations: 375.5 kB / 0.7449 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.4989, allocations: 29 kB / 0.7449 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.4989, allocations: 43.89 kB / 0.7449 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.4997, allocations: 446.4 kB / 0.7454 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4997, allocations: 3.938 kB / 0.7454 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.4997, allocations: 19.94 kB / 0.7454 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.4997, allocations: 8 kB / 0.7454 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.5003, allocations: 323.8 kB / 0.7457 GB, free: 1.652 MB / 0.5762 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.1984/0.6988, allocations: 2.007 MB / 0.7477 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.6993, allocations: 239.6 kB / 0.7479 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.6996, allocations: 149.5 kB / 0.748 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/0.7002, allocations: 305.6 kB / 0.7483 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.7002, allocations: 37.02 kB / 0.7484 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.324e-06/0.7003, allocations: 0 / 0.7484 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001165/0.7014, allocations: 459.6 kB / 0.7488 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.7015, allocations: 54.77 kB / 0.7489 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.7019, allocations: 396.9 kB / 0.7492 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.7019, allocations: 32.61 kB / 0.7493 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.7021, allocations: 235.9 kB / 0.7495 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.7021, allocations: 77.88 kB / 0.7496 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-05/0.7022, allocations: 58.61 kB / 0.7496 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.7023, allocations: 353.6 kB / 0.75 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.7026, allocations: 110.3 kB / 0.7501 GB, free: 174 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.7028, allocations: 185.4 kB / 0.7502 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.7033, allocations: 305.7 kB / 0.7505 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7034, allocations: 0.7188 kB / 0.7505 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006799/0.704, allocations: 365.7 kB / 0.7509 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7041, allocations: 6.219 kB / 0.7509 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7041, allocations: 2.922 kB / 0.7509 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.7041, allocations: 4.031 kB / 0.7509 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.7044, allocations: 57.17 kB / 0.7509 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.7044, allocations: 4.125 kB / 0.7509 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.7048, allocations: 56.48 kB / 0.751 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.7049, allocations: 16.97 kB / 0.751 GB, free: 173.6 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.705, allocations: 164.1 kB / 0.7512 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.7051, allocations: 42.97 kB / 0.7512 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.7058, allocations: 373.4 kB / 0.7516 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7058, allocations: 2.281 kB / 0.7516 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7058, allocations: 5.031 kB / 0.7516 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.7059, allocations: 1.219 kB / 0.7516 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.7072, allocations: 0.9438 MB / 0.7525 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7072, allocations: 2.094 kB / 0.7525 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.7074, allocations: 47.94 kB / 0.7526 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.7074, allocations: 3.484 kB / 0.7526 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.7075, allocations: 9.25 kB / 0.7526 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.7075, allocations: 3.391 kB / 0.7526 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7075, allocations: 7.906 kB / 0.7526 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.7083, allocations: 0.6218 MB / 0.7532 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.7085, allocations: 154 kB / 0.7533 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.7086, allocations: 8.406 kB / 0.7533 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.7088, allocations: 31.91 kB / 0.7534 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.7089, allocations: 18 kB / 0.7534 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.7089, allocations: 13.42 kB / 0.7534 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002632/0.7092, allocations: 277.7 kB / 0.7537 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7092, allocations: 0 / 0.7537 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004704/0.7097, allocations: 120.9 kB / 0.7538 GB, free: 172 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/0.7109, allocations: 1.228 MB / 0.755 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.7115, allocations: 301.4 kB / 0.7553 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7115, allocations: 0 / 0.7553 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.7117, allocations: 152.5 kB / 0.7554 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.7127, allocations: 222.1 kB / 0.7556 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.7171, allocations: 3.973 MB / 0.7595 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.7173, allocations: 0.8307 MB / 0.7603 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.7177, allocations: 98.42 kB / 0.7604 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.7179, allocations: 137.8 kB / 0.7605 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.7179, allocations: 0 / 0.7605 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.7452, allocations: 11.42 MB / 0.7717 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.7453, allocations: 242.7 kB / 0.7719 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.636, allocations: 1.531 kB / 0.7719 GB, free: 165.6 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/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)