Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 104 kB / 16.94 MB, free: 6.191 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.001588/0.001588, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.366/1.366, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.786/0.786, allocations: 122.9 MB / 414.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.4917 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3665, allocations: 77.92 MB / 0.5678 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03624/0.4028, allocations: 41.55 MB / 0.6084 GB, free: 1.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.4186, allocations: 10.4 MB / 0.6186 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.4213, allocations: 55.69 kB / 0.6186 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.4236, allocations: 0.6404 MB / 0.6192 GB, free: 6.051 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.4294, allocations: 1.878 MB / 0.6211 GB, free: 4.164 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.4329, allocations: 1.178 MB / 0.6222 GB, free: 3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005229/0.4382, allocations: 3.395 MB / 0.6255 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.4401, allocations: 1.071 MB / 0.6266 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.4435, allocations: 1.22 MB / 0.6278 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.4452, allocations: 0.875 MB / 0.6286 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003608/0.4456, allocations: 100 kB / 0.6287 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.4483, allocations: 0.8578 MB / 0.6296 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.4488, allocations: 275 kB / 0.6298 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009929/0.4498, allocations: 0.6337 MB / 0.6305 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.4527, allocations: 1.905 MB / 0.6323 GB, free: 8.633 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4527, allocations: 4 kB / 0.6323 GB, free: 8.629 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4528, allocations: 0 / 0.6323 GB, free: 8.629 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.4528, allocations: 0 / 0.6323 GB, free: 8.629 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002395/0.4552, allocations: 1.519 MB / 0.6338 GB, free: 7.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4552, allocations: 8.625 kB / 0.6338 GB, free: 7.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.4556, allocations: 135.4 kB / 0.6339 GB, free: 6.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.4572, allocations: 1.038 MB / 0.6349 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.4572, allocations: 61.94 kB / 0.635 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.94e-05/0.4573, allocations: 71.91 kB / 0.6351 GB, free: 5.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.4586, allocations: 0.7944 MB / 0.6359 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4587, allocations: 0 / 0.6359 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/0.4587, allocations: 28 kB / 0.6359 GB, free: 4.848 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.4588, allocations: 20 kB / 0.6359 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.4599, allocations: 0.5788 MB / 0.6365 GB, free: 4.25 MB / 478.1 MB 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.00401/0.4639, allocations: 3.567 MB / 0.6399 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.4645, allocations: 275.7 kB / 0.6402 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.4648, allocations: 183 kB / 0.6404 GB, free: 0 / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/0.4654, allocations: 0.657 MB / 0.641 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4654, allocations: 42.56 kB / 0.6411 GB, free: 15.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.4654, allocations: 0 / 0.6411 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001193/0.4666, allocations: 0.5085 MB / 0.6416 GB, free: 14.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4667, allocations: 59.34 kB / 0.6416 GB, free: 14.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.4678, allocations: 0.9456 MB / 0.6425 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.4679, allocations: 41.69 kB / 0.6426 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.4683, allocations: 499.5 kB / 0.6431 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.4684, allocations: 110.5 kB / 0.6432 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.4685, allocations: 118 kB / 0.6433 GB, free: 12.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4687, allocations: 329.9 kB / 0.6436 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.469, allocations: 165 kB / 0.6437 GB, free: 12.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.4695, allocations: 351 kB / 0.6441 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008027/0.4703, allocations: 0.5031 MB / 0.6446 GB, free: 11.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.4703, allocations: 4 kB / 0.6446 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001108/0.4714, allocations: 0.6176 MB / 0.6452 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4715, allocations: 12 kB / 0.6452 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.4715, allocations: 4 kB / 0.6452 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4715, allocations: 8 kB / 0.6452 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.472, allocations: 123.8 kB / 0.6453 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.472, allocations: 15.92 kB / 0.6453 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.4726, allocations: 83.19 kB / 0.6454 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.4726, allocations: 28 kB / 0.6454 GB, free: 10.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.000363/0.473, allocations: 277.6 kB / 0.6457 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.4732, allocations: 102.8 kB / 0.6458 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009572/0.4741, allocations: 482.8 kB / 0.6463 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.4741, allocations: 11.98 kB / 0.6463 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4742, allocations: 0 / 0.6463 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007265/0.4749, allocations: 446.1 kB / 0.6467 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.4769, allocations: 1.363 MB / 0.648 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4769, allocations: 7.938 kB / 0.648 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.4772, allocations: 75.89 kB / 0.6481 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4772, allocations: 4.094 kB / 0.6481 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.4773, allocations: 20.05 kB / 0.6481 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4773, allocations: 4 kB / 0.6481 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4773, allocations: 4 kB / 0.6481 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.4786, allocations: 0.7619 MB / 0.6489 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.4789, allocations: 227.7 kB / 0.6491 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.479, allocations: 8 kB / 0.6491 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.4795, allocations: 43.95 kB / 0.6492 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.4796, allocations: 23.97 kB / 0.6492 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.4797, allocations: 15.98 kB / 0.6492 GB, free: 6.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000833/0.4805, allocations: 0.6588 MB / 0.6498 GB, free: 5.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4805, allocations: 0 / 0.6498 GB, free: 5.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009457/0.4815, allocations: 343.4 kB / 0.6502 GB, free: 5.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008207/0.4823, allocations: 404.2 kB / 0.6505 GB, free: 5.043 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009986/0.4833, allocations: 452.5 kB / 0.651 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4833, allocations: 0 / 0.651 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.4837, allocations: 187.8 kB / 0.6512 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.4864, allocations: 0.6139 MB / 0.6518 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.489, allocations: 1.642 MB / 0.6534 GB, free: 2.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.4896, allocations: 1.036 MB / 0.6544 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.4898, allocations: 83.42 kB / 0.6545 GB, free: 1.004 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4898, allocations: 0 / 0.6545 GB, free: 1.004 MB / 494.1 MB Notification: Performance of Templates: time 0.02663/0.5164, allocations: 17.99 MB / 0.672 GB, free: 15.18 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)