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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 111.5 kB / 17.33 MB, free: 5.043 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.001213/0.001213, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.433/1.433, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8252/0.8252, allocations: 128.4 MB / 426.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 66.48 kB / 0.5912 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1627, allocations: 83.26 MB / 0.6725 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04785/0.2105, allocations: 41.93 MB / 0.7134 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.2268, allocations: 10.42 MB / 0.7236 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.2288, allocations: 59.62 kB / 0.7237 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.2307, allocations: 0.6716 MB / 0.7243 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005291/0.2359, allocations: 1.974 MB / 0.7262 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.2391, allocations: 1.193 MB / 0.7274 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00538/0.2445, allocations: 3.414 MB / 0.7307 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.246, allocations: 0.8763 MB / 0.7316 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003909/0.2499, allocations: 1.428 MB / 0.733 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.2514, allocations: 0.9217 MB / 0.7339 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.2516, allocations: 100 kB / 0.734 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.2537, allocations: 0.8851 MB / 0.7349 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.254, allocations: 290.8 kB / 0.7351 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007249/0.2547, allocations: 0.6415 MB / 0.7358 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.2577, allocations: 1.931 MB / 0.7376 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.2577, allocations: 4 kB / 0.7376 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2577, allocations: 0 / 0.7376 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.2577, allocations: 0 / 0.7376 GB, free: 0.9414 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002657/0.2604, allocations: 1.545 MB / 0.7392 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2604, allocations: 16.03 kB / 0.7392 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.2608, allocations: 144.1 kB / 0.7393 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.2627, allocations: 1.115 MB / 0.7404 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.2627, allocations: 54 kB / 0.7404 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2628, allocations: 75.94 kB / 0.7405 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.2643, allocations: 0.7866 MB / 0.7413 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.2643, allocations: 3.938 kB / 0.7413 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.162e-05/0.2644, allocations: 32 kB / 0.7413 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.2644, allocations: 23.98 kB / 0.7413 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.2656, allocations: 0.5633 MB / 0.7419 GB, free: 12.45 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.004581/0.2702, allocations: 3.711 MB / 0.7455 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.2708, allocations: 239.4 kB / 0.7457 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.2712, allocations: 176.6 kB / 0.7459 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000623/0.2718, allocations: 0.6532 MB / 0.7466 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.2718, allocations: 38.56 kB / 0.7466 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.2718, allocations: 0 / 0.7466 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001271/0.2731, allocations: 0.5247 MB / 0.7471 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.2732, allocations: 55.41 kB / 0.7472 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.2744, allocations: 0.9533 MB / 0.7481 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.2745, allocations: 37.7 kB / 0.7481 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005031/0.275, allocations: 0.4887 MB / 0.7486 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2751, allocations: 119 kB / 0.7487 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.2753, allocations: 126.1 kB / 0.7488 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2754, allocations: 326 kB / 0.7491 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.2758, allocations: 165 kB / 0.7493 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.2763, allocations: 347 kB / 0.7496 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.2772, allocations: 0.5148 MB / 0.7501 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2772, allocations: 0 / 0.7501 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001208/0.2784, allocations: 0.6216 MB / 0.7507 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2784, allocations: 4 kB / 0.7507 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2784, allocations: 8 kB / 0.7508 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.2785, allocations: 8 kB / 0.7508 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.279, allocations: 120.2 kB / 0.7509 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.279, allocations: 23.86 kB / 0.7509 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/0.2796, allocations: 83.42 kB / 0.751 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.2796, allocations: 24 kB / 0.751 GB, free: 2.48 MB / 0.5762 GB 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.0004231/0.2801, allocations: 273.6 kB / 0.7513 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.2803, allocations: 111.3 kB / 0.7514 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.2813, allocations: 488.8 kB / 0.7518 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.2813, allocations: 7.984 kB / 0.7518 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/0.2813, allocations: 8 kB / 0.7518 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007815/0.2821, allocations: 453.2 kB / 0.7523 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3686/0.6507, allocations: 1.358 MB / 0.7536 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6507, allocations: 2.656 kB / 0.7536 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.6511, allocations: 80.23 kB / 0.7537 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.6511, allocations: 2.469 kB / 0.7537 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.6511, allocations: 13.86 kB / 0.7537 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.6512, allocations: 2.594 kB / 0.7537 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6512, allocations: 5.562 kB / 0.7537 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.6526, allocations: 0.7601 MB / 0.7545 GB, free: 78.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.653, allocations: 230.2 kB / 0.7547 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6531, allocations: 7.625 kB / 0.7547 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.6536, allocations: 32.67 kB / 0.7547 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.6537, allocations: 28.25 kB / 0.7547 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.6538, allocations: 21.66 kB / 0.7548 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001013/0.6548, allocations: 0.6624 MB / 0.7554 GB, free: 77.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6548, allocations: 5.062 kB / 0.7554 GB, free: 77.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001208/0.656, allocations: 340.3 kB / 0.7557 GB, free: 77.98 MB / 0.5762 GB 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.0009409/0.6569, allocations: 395 kB / 0.7561 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.658, allocations: 406.6 kB / 0.7565 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.658, allocations: 5.25 kB / 0.7565 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.6584, allocations: 175.6 kB / 0.7567 GB, free: 77.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.6611, allocations: 0.6075 MB / 0.7573 GB, free: 77.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.6637, allocations: 1.621 MB / 0.7588 GB, free: 77.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.6644, allocations: 1.04 MB / 0.7599 GB, free: 76.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006927/0.6651, allocations: 191.9 kB / 0.76 GB, free: 76.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.6653, allocations: 78.62 kB / 0.7601 GB, free: 76.34 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.6653, allocations: 0 / 0.7601 GB, free: 76.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.04052/0.7058, allocations: 21.59 MB / 0.7812 GB, free: 68.35 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (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) [Timeout 480]