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.001466/0.001466, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001585/0.001586, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.761/0.761, allocations: 126.4 MB / 417.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 0.4953 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3664, allocations: 78.78 MB / 0.5723 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03319/0.3996, allocations: 41.63 MB / 0.6129 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.4143, allocations: 10.4 MB / 0.6231 GB, free: 2.086 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.4163, allocations: 55.69 kB / 0.6231 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.4182, allocations: 0.6404 MB / 0.6237 GB, free: 1.387 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.4234, allocations: 1.885 MB / 0.6256 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.4265, allocations: 1.166 MB / 0.6267 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.4316, allocations: 3.395 MB / 0.63 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.4339, allocations: 1.063 MB / 0.6311 GB, free: 9.852 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00365/0.4375, allocations: 1.393 MB / 0.6324 GB, free: 8.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.4392, allocations: 0.8633 MB / 0.6333 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.4395, allocations: 100 kB / 0.6334 GB, free: 7.496 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.4417, allocations: 0.8501 MB / 0.6342 GB, free: 6.645 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.442, allocations: 287 kB / 0.6345 GB, free: 6.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008553/0.4429, allocations: 0.6298 MB / 0.6351 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.4456, allocations: 1.909 MB / 0.637 GB, free: 3.816 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4457, allocations: 0 / 0.637 GB, free: 3.816 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4457, allocations: 0 / 0.637 GB, free: 3.816 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4457, allocations: 0 / 0.637 GB, free: 3.816 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.002389/0.4481, allocations: 1.519 MB / 0.6384 GB, free: 2.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4481, allocations: 8.031 kB / 0.6385 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.4485, allocations: 131.4 kB / 0.6386 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.45, allocations: 1.051 MB / 0.6396 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.4501, allocations: 58 kB / 0.6397 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4502, allocations: 75.98 kB / 0.6397 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4515, allocations: 0.7827 MB / 0.6405 GB, free: 68 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4516, allocations: 7.938 kB / 0.6405 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.4516, allocations: 35.94 kB / 0.6405 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.4517, allocations: 20 kB / 0.6406 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.4528, allocations: 0.5711 MB / 0.6411 GB, free: 15.43 MB / 494.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.003975/0.4568, allocations: 3.721 MB / 0.6448 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.4574, allocations: 266.4 kB / 0.645 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.4577, allocations: 183.2 kB / 0.6452 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/0.4583, allocations: 0.6532 MB / 0.6458 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.4584, allocations: 38.56 kB / 0.6459 GB, free: 10.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.4584, allocations: 0 / 0.6459 GB, free: 10.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001235/0.4596, allocations: 0.5202 MB / 0.6464 GB, free: 9.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.4597, allocations: 55.41 kB / 0.6464 GB, free: 9.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.4608, allocations: 0.9455 MB / 0.6473 GB, free: 8.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4608, allocations: 33.7 kB / 0.6474 GB, free: 8.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.4613, allocations: 0.4995 MB / 0.6479 GB, free: 8.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/0.4614, allocations: 102.5 kB / 0.648 GB, free: 7.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4615, allocations: 118 kB / 0.6481 GB, free: 7.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4617, allocations: 326 kB / 0.6484 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.462, allocations: 165 kB / 0.6485 GB, free: 7.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.4626, allocations: 354.9 kB / 0.6489 GB, free: 6.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/0.4634, allocations: 0.503 MB / 0.6494 GB, free: 6.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4634, allocations: 4 kB / 0.6494 GB, free: 6.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001146/0.4646, allocations: 0.6211 MB / 0.65 GB, free: 5.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4646, allocations: 8 kB / 0.65 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4646, allocations: 4 kB / 0.65 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.4646, allocations: 8 kB / 0.65 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.4651, allocations: 123.8 kB / 0.6501 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4651, allocations: 8.438 kB / 0.6501 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.4657, allocations: 95.03 kB / 0.6502 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.4657, allocations: 31.98 kB / 0.6502 GB, free: 5.438 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.0003496/0.4661, allocations: 274.5 kB / 0.6505 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.4663, allocations: 94.88 kB / 0.6506 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009868/0.4672, allocations: 485.2 kB / 0.6511 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4673, allocations: 4 kB / 0.6511 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4673, allocations: 3.938 kB / 0.6511 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007224/0.468, allocations: 457.2 kB / 0.6515 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.47, allocations: 1.367 MB / 0.6528 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.47, allocations: 4.031 kB / 0.6528 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.4704, allocations: 71.89 kB / 0.6529 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4704, allocations: 4 kB / 0.6529 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.4704, allocations: 15.98 kB / 0.6529 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.4705, allocations: 7.938 kB / 0.6529 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4705, allocations: 3.984 kB / 0.6529 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.4718, allocations: 0.7699 MB / 0.6537 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.4721, allocations: 231.8 kB / 0.6539 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.4723, allocations: 8 kB / 0.6539 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.4728, allocations: 27.97 kB / 0.6539 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4728, allocations: 27.95 kB / 0.654 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.4729, allocations: 19.98 kB / 0.654 GB, free: 1.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008199/0.4737, allocations: 0.6549 MB / 0.6546 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4737, allocations: 4.062 kB / 0.6546 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009615/0.4747, allocations: 343.4 kB / 0.655 GB, free: 440 kB / 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.0006975/0.4754, allocations: 395.9 kB / 0.6553 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009719/0.4764, allocations: 456.2 kB / 0.6558 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4764, allocations: 0 / 0.6558 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.4768, allocations: 193 kB / 0.656 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.4794, allocations: 0.6068 MB / 0.6566 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.4822, allocations: 1.613 MB / 0.6581 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.4829, allocations: 1.044 MB / 0.6591 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007807/0.4837, allocations: 195.9 kB / 0.6593 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.4839, allocations: 83.42 kB / 0.6594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.4839, allocations: 0 / 0.6594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.03634/0.5202, allocations: 21.22 MB / 0.6801 GB, free: 6.895 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)