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.001233/0.001233, allocations: 110 kB / 16.41 MB, free: 6.488 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.001224/0.001225, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7675/0.7675, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.58 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1515, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0402/0.1918, allocations: 41.55 MB / 0.6727 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.2056, allocations: 10.4 MB / 0.6828 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.2074, allocations: 55.69 kB / 0.6829 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2091, allocations: 0.6561 MB / 0.6835 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.2138, allocations: 1.981 MB / 0.6854 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.2166, allocations: 1.188 MB / 0.6866 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00416/0.2208, allocations: 3.413 MB / 0.6899 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.2222, allocations: 1.067 MB / 0.691 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.2247, allocations: 1.27 MB / 0.6922 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.2258, allocations: 0.875 MB / 0.6931 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.226, allocations: 103.9 kB / 0.6932 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.2279, allocations: 0.8617 MB / 0.694 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.2282, allocations: 283 kB / 0.6943 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.2289, allocations: 0.6299 MB / 0.6949 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.2314, allocations: 1.924 MB / 0.6968 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2314, allocations: 0 / 0.6968 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2315, allocations: 4 kB / 0.6968 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.2315, allocations: 0 / 0.6968 GB, free: 1.914 MB / 0.5294 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.002293/0.2338, allocations: 1.499 MB / 0.6982 GB, free: 368 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2338, allocations: 12.03 kB / 0.6983 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.2342, allocations: 135.4 kB / 0.6984 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.2358, allocations: 1.111 MB / 0.6995 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.2359, allocations: 57.98 kB / 0.6995 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.236, allocations: 75.91 kB / 0.6996 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.2373, allocations: 0.7866 MB / 0.7004 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2374, allocations: 3.938 kB / 0.7004 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.2374, allocations: 36 kB / 0.7004 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.2375, allocations: 23.98 kB / 0.7004 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.2386, allocations: 0.5633 MB / 0.701 GB, free: 13.48 MB / 0.545 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.004207/0.2428, allocations: 3.548 MB / 0.7044 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.2434, allocations: 258.4 kB / 0.7047 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.2438, allocations: 176.8 kB / 0.7049 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/0.2443, allocations: 0.6648 MB / 0.7055 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.2444, allocations: 38.56 kB / 0.7055 GB, free: 8.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.2444, allocations: 0 / 0.7055 GB, free: 8.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001216/0.2456, allocations: 0.5132 MB / 0.706 GB, free: 7.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2457, allocations: 55.41 kB / 0.7061 GB, free: 7.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.2469, allocations: 0.9456 MB / 0.707 GB, free: 6.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.2469, allocations: 33.7 kB / 0.7071 GB, free: 6.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.2474, allocations: 499.6 kB / 0.7075 GB, free: 6.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2475, allocations: 118.3 kB / 0.7076 GB, free: 6.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2477, allocations: 118.1 kB / 0.7078 GB, free: 6.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2478, allocations: 329.9 kB / 0.7081 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.2482, allocations: 165 kB / 0.7082 GB, free: 5.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.2487, allocations: 346.9 kB / 0.7086 GB, free: 5.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/0.2495, allocations: 0.511 MB / 0.7091 GB, free: 4.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2495, allocations: 0 / 0.7091 GB, free: 4.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001159/0.2507, allocations: 0.6212 MB / 0.7097 GB, free: 3.973 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2507, allocations: 4 kB / 0.7097 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2507, allocations: 8 kB / 0.7097 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2507, allocations: 8 kB / 0.7097 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.2512, allocations: 119.8 kB / 0.7098 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.2512, allocations: 15.92 kB / 0.7098 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.2519, allocations: 87.5 kB / 0.7099 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.2519, allocations: 24 kB / 0.7099 GB, free: 3.711 MB / 0.545 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.0003511/0.2523, allocations: 277.6 kB / 0.7102 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.2525, allocations: 102.8 kB / 0.7103 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009613/0.2534, allocations: 492.3 kB / 0.7107 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.2535, allocations: 4 kB / 0.7108 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2535, allocations: 0 / 0.7108 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007119/0.2542, allocations: 456.9 kB / 0.7112 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.2562, allocations: 1.363 MB / 0.7125 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2562, allocations: 0 / 0.7125 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.2566, allocations: 79.88 kB / 0.7126 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2566, allocations: 12.09 kB / 0.7126 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2567, allocations: 8 kB / 0.7126 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2567, allocations: 7.938 kB / 0.7126 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.2567, allocations: 0 / 0.7126 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.258, allocations: 0.7594 MB / 0.7134 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.2583, allocations: 231.7 kB / 0.7136 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.2584, allocations: 8 kB / 0.7136 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.259, allocations: 32.02 kB / 0.7136 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.2591, allocations: 31.89 kB / 0.7137 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.2591, allocations: 19.98 kB / 0.7137 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008725/0.26, allocations: 0.6628 MB / 0.7143 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.26, allocations: 0 / 0.7143 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009324/0.261, allocations: 339.4 kB / 0.7146 GB, free: 14.7 MB / 0.5606 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.0007659/0.2617, allocations: 398.9 kB / 0.715 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000918/0.2627, allocations: 433.1 kB / 0.7154 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.2627, allocations: 4 kB / 0.7154 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.2631, allocations: 183.8 kB / 0.7156 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.2659, allocations: 0.6165 MB / 0.7162 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2685, allocations: 1.582 MB / 0.7178 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.2693, allocations: 1.04 MB / 0.7188 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001118/0.2705, allocations: 196.3 kB / 0.719 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.2708, allocations: 79.42 kB / 0.719 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.2708, allocations: 0 / 0.719 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.05553/0.3263, allocations: 21.36 MB / 0.7399 GB, free: 5 MB / 0.5762 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)