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: translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001312/0.001312, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7386/0.7386, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.45 kB / 0.5584 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 76.18 MB / 0.6328 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5939/0.7622, allocations: 179.4 MB / 0.8079 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009031/0.7713, allocations: 7.835 MB / 0.8156 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009431/0.7723, allocations: 20.59 kB / 0.8156 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009881/0.7733, allocations: 246.6 kB / 0.8158 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.7773, allocations: 1.223 MB / 0.817 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.7796, allocations: 0.7309 MB / 0.8177 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.7813, allocations: 1.075 MB / 0.8188 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008397/0.7822, allocations: 405.5 kB / 0.8192 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.7851, allocations: 0.841 MB / 0.82 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.786, allocations: 432.3 kB / 0.8204 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.7862, allocations: 37.72 kB / 0.8204 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.7883, allocations: 0.9501 MB / 0.8214 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.7885, allocations: 162.5 kB / 0.8215 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.789, allocations: 244.7 kB / 0.8218 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.7911, allocations: 0.9352 MB / 0.8227 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7912, allocations: 4 kB / 0.8227 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7912, allocations: 0 / 0.8227 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.7912, allocations: 0 / 0.8227 GB, free: 7.648 MB / 0.5919 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.001607/0.7928, allocations: 0.8035 MB / 0.8235 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.7929, allocations: 10.41 kB / 0.8235 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.7939, allocations: 155.9 kB / 0.8236 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.7947, allocations: 400.8 kB / 0.824 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.7947, allocations: 28.03 kB / 0.824 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.7948, allocations: 37.16 kB / 0.8241 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.7956, allocations: 447.8 kB / 0.8245 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7956, allocations: 4 kB / 0.8245 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.7957, allocations: 16.66 kB / 0.8245 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.7957, allocations: 14.41 kB / 0.8245 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.7963, allocations: 316.1 kB / 0.8248 GB, free: 6.074 MB / 0.5919 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.002369/0.7987, allocations: 2.02 MB / 0.8268 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.7991, allocations: 234.8 kB / 0.827 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.7994, allocations: 148.1 kB / 0.8272 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/0.8, allocations: 312.7 kB / 0.8275 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.8, allocations: 35.25 kB / 0.8275 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.864e-06/0.8, allocations: 2.625 kB / 0.8275 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001033/0.8011, allocations: 454.6 kB / 0.8279 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.8011, allocations: 53.88 kB / 0.828 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.8016, allocations: 395.6 kB / 0.8284 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.8016, allocations: 32.23 kB / 0.8284 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.8018, allocations: 227.4 kB / 0.8286 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.8019, allocations: 87.36 kB / 0.8287 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.802, allocations: 56.02 kB / 0.8287 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8021, allocations: 357.6 kB / 0.8291 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.8023, allocations: 117.5 kB / 0.8292 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.8026, allocations: 183.2 kB / 0.8294 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.8031, allocations: 303.6 kB / 0.8297 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8031, allocations: 2.719 kB / 0.8297 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006493/0.8038, allocations: 364.7 kB / 0.83 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8038, allocations: 4.812 kB / 0.83 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8038, allocations: 7.375 kB / 0.83 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8039, allocations: 2.906 kB / 0.83 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.8041, allocations: 57.31 kB / 0.8301 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.8042, allocations: 2.719 kB / 0.8301 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.8044, allocations: 43.89 kB / 0.8301 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.8045, allocations: 14.03 kB / 0.8301 GB, free: 1.828 MB / 0.5919 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.0001928/0.8047, allocations: 170.8 kB / 0.8303 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.8048, allocations: 37.28 kB / 0.8303 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000691/0.8055, allocations: 375.7 kB / 0.8307 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8055, allocations: 2.562 kB / 0.8307 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8055, allocations: 0 / 0.8307 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8055, allocations: 6.281 kB / 0.8307 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.807, allocations: 0.9341 MB / 0.8316 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.807, allocations: 6.359 kB / 0.8316 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.8073, allocations: 53.84 kB / 0.8317 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-06/0.8073, allocations: 1.781 kB / 0.8317 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.8073, allocations: 13.94 kB / 0.8317 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.8073, allocations: 2.344 kB / 0.8317 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8073, allocations: 2.375 kB / 0.8317 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009097/0.8082, allocations: 0.6382 MB / 0.8323 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.8084, allocations: 150.6 kB / 0.8325 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.8085, allocations: 9.188 kB / 0.8325 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.8087, allocations: 8.984 kB / 0.8325 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.8088, allocations: 29.53 kB / 0.8325 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.8088, allocations: 6.062 kB / 0.8325 GB, free: 88 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002942/0.8091, allocations: 284.6 kB / 0.8328 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8091, allocations: 0 / 0.8328 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004878/0.8096, allocations: 110.3 kB / 0.8329 GB, free: 15.89 MB / 0.6075 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.0004819/0.8101, allocations: 176.5 kB / 0.8331 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000615/0.8108, allocations: 282.8 kB / 0.8333 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8108, allocations: 2.031 kB / 0.8333 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.811, allocations: 149.6 kB / 0.8335 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.8121, allocations: 232 kB / 0.8337 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.8135, allocations: 0.8405 MB / 0.8345 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.814, allocations: 0.8236 MB / 0.8353 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.8141, allocations: 43.05 kB / 0.8354 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.8141, allocations: 0 / 0.8354 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of Templates: time 0.01221/0.8263, allocations: 6.833 MB / 0.842 GB, free: 10.57 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)