Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 104.2 kB / 16.52 MB, free: 6.27 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.001174/0.001174, allocations: 197.8 kB / 17.44 MB, free: 5.887 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7059/0.7059, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4009, allocations: 76.17 MB / 0.5564 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1763/0.5772, allocations: 165.3 MB / 0.7178 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007865/0.5851, allocations: 6.556 MB / 0.7242 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006634/0.5858, allocations: 11.94 kB / 0.7242 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.5866, allocations: 127.1 kB / 0.7243 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.5893, allocations: 0.786 MB / 0.7251 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.5905, allocations: 296.1 kB / 0.7254 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.5918, allocations: 1.018 MB / 0.7264 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.5924, allocations: 235.2 kB / 0.7266 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.5939, allocations: 0.5136 MB / 0.7271 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006443/0.5946, allocations: 286.9 kB / 0.7274 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.5947, allocations: 16 kB / 0.7274 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.5957, allocations: 395 kB / 0.7278 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.5959, allocations: 95.7 kB / 0.7278 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.5962, allocations: 159.1 kB / 0.728 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.5968, allocations: 335.3 kB / 0.7283 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5968, allocations: 0 / 0.7283 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5968, allocations: 0 / 0.7283 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.5968, allocations: 0 / 0.7283 GB, free: 4.07 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001276/0.5981, allocations: 0.6194 MB / 0.7289 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.5982, allocations: 11.97 kB / 0.7289 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.5986, allocations: 59.59 kB / 0.729 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.5991, allocations: 305.2 kB / 0.7293 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.5992, allocations: 24.56 kB / 0.7293 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.5992, allocations: 27.98 kB / 0.7293 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.5999, allocations: 311.7 kB / 0.7296 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5999, allocations: 0 / 0.7296 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.5999, allocations: 16 kB / 0.7296 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.6, allocations: 8 kB / 0.7296 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.6004, allocations: 205.5 kB / 0.7298 GB, free: 2.387 MB / 0.5606 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.001776/0.6022, allocations: 1.534 MB / 0.7313 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.6025, allocations: 122.4 kB / 0.7315 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.6027, allocations: 96.8 kB / 0.7316 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007103/0.6034, allocations: 303.2 kB / 0.7318 GB, free: 140 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6035, allocations: 30.56 kB / 0.7319 GB, free: 100 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.6035, allocations: 4 kB / 0.7319 GB, free: 96 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0009538/0.6044, allocations: 265.2 kB / 0.7321 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.6045, allocations: 59.41 kB / 0.7322 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.605, allocations: 312.5 kB / 0.7325 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.605, allocations: 25.7 kB / 0.7325 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.6053, allocations: 188.1 kB / 0.7327 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.6053, allocations: 43.36 kB / 0.7327 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.6054, allocations: 37.7 kB / 0.7328 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6056, allocations: 334.8 kB / 0.7331 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.6057, allocations: 59.95 kB / 0.7331 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.6059, allocations: 113.1 kB / 0.7332 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.6063, allocations: 176.9 kB / 0.7334 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6063, allocations: 7.938 kB / 0.7334 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004766/0.6068, allocations: 217.1 kB / 0.7336 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6068, allocations: 4 kB / 0.7336 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6068, allocations: 8 kB / 0.7336 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6069, allocations: 0 / 0.7336 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.6071, allocations: 31.98 kB / 0.7337 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.6071, allocations: 8.094 kB / 0.7337 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.6073, allocations: 43.66 kB / 0.7337 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.6074, allocations: 4 kB / 0.7337 GB, free: 14.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001819/0.6076, allocations: 149.8 kB / 0.7339 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.6076, allocations: 23.72 kB / 0.7339 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.6082, allocations: 216.5 kB / 0.7341 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6082, allocations: 0 / 0.7341 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6082, allocations: 0 / 0.7341 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.6083, allocations: 7.938 kB / 0.7341 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.6094, allocations: 0.6834 MB / 0.7348 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6094, allocations: 0 / 0.7348 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.6095, allocations: 35.92 kB / 0.7348 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6096, allocations: 0 / 0.7348 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6096, allocations: 4 kB / 0.7348 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.6096, allocations: 12.16 kB / 0.7348 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6096, allocations: 0 / 0.7348 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.61, allocations: 339.9 kB / 0.7351 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.6102, allocations: 116.7 kB / 0.7353 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.6102, allocations: 7.984 kB / 0.7353 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.6104, allocations: 19.92 kB / 0.7353 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.6105, allocations: 19.98 kB / 0.7353 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.6105, allocations: 12 kB / 0.7353 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002053/0.6107, allocations: 219.1 kB / 0.7355 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6107, allocations: 0 / 0.7355 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003994/0.6111, allocations: 75.83 kB / 0.7356 GB, free: 12.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003915/0.6115, allocations: 162.2 kB / 0.7358 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.6119, allocations: 152 kB / 0.7359 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6119, allocations: 4.062 kB / 0.7359 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.6121, allocations: 79.89 kB / 0.736 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.6129, allocations: 141.3 kB / 0.7361 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.6139, allocations: 0.6673 MB / 0.7368 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.6142, allocations: 0.7758 MB / 0.7375 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.6143, allocations: 35.36 kB / 0.7376 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.6143, allocations: 0 / 0.7376 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of Templates: time 0.007704/0.622, allocations: 4.548 MB / 0.742 GB, free: 5.465 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)