Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00663/0.00663, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001291/0.001292, allocations: 194 kB / 16.67 MB, free: 5.93 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 / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7822/0.7822, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.11 kB / 0.5814 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1378, allocations: 80.21 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04076/0.1786, allocations: 41.56 MB / 0.7003 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.1937, allocations: 10.38 MB / 0.7104 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.1956, allocations: 59.62 kB / 0.7105 GB, free: 6.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.1977, allocations: 0.6638 MB / 0.7111 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.2029, allocations: 1.979 MB / 0.713 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.2059, allocations: 1.187 MB / 0.7142 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004143/0.2101, allocations: 3.39 MB / 0.7175 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.2116, allocations: 1.068 MB / 0.7186 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.2143, allocations: 1.258 MB / 0.7198 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.2157, allocations: 0.8944 MB / 0.7207 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.216, allocations: 100 kB / 0.7208 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.218, allocations: 0.8656 MB / 0.7216 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.2184, allocations: 275 kB / 0.7219 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009396/0.2193, allocations: 0.6337 MB / 0.7225 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.2223, allocations: 1.932 MB / 0.7244 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2223, allocations: 0 / 0.7244 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2223, allocations: 0 / 0.7244 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.437e-05/0.2224, allocations: 3.938 kB / 0.7244 GB, free: 7.738 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.00278/0.2252, allocations: 1.521 MB / 0.7259 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2252, allocations: 8.031 kB / 0.7259 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.2256, allocations: 135.4 kB / 0.726 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.2275, allocations: 1.103 MB / 0.7271 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.2276, allocations: 61.94 kB / 0.7271 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2277, allocations: 72 kB / 0.7272 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.2291, allocations: 0.7866 MB / 0.728 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2292, allocations: 7.938 kB / 0.728 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/0.2292, allocations: 28 kB / 0.728 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.2293, allocations: 20 kB / 0.728 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.2304, allocations: 0.5711 MB / 0.7286 GB, free: 3.301 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.003996/0.2344, allocations: 3.547 MB / 0.732 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.235, allocations: 262.4 kB / 0.7323 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.2353, allocations: 176.8 kB / 0.7325 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/0.2359, allocations: 0.6532 MB / 0.7331 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2359, allocations: 42.5 kB / 0.7331 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.2359, allocations: 0 / 0.7331 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001129/0.2371, allocations: 0.5145 MB / 0.7336 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2371, allocations: 59.41 kB / 0.7337 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.2382, allocations: 0.9494 MB / 0.7346 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.2382, allocations: 33.7 kB / 0.7347 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.2386, allocations: 0.4956 MB / 0.7351 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.2388, allocations: 110.3 kB / 0.7352 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.239, allocations: 118 kB / 0.7354 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2391, allocations: 322 kB / 0.7357 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.2394, allocations: 165 kB / 0.7358 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.2399, allocations: 359.8 kB / 0.7362 GB, free: 11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.2407, allocations: 0.5042 MB / 0.7367 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2407, allocations: 0 / 0.7367 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001056/0.2418, allocations: 0.6175 MB / 0.7373 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2418, allocations: 12.12 kB / 0.7373 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2418, allocations: 4 kB / 0.7373 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2419, allocations: 8 kB / 0.7373 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.2423, allocations: 127.8 kB / 0.7374 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.2423, allocations: 11.94 kB / 0.7374 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.243, allocations: 79.19 kB / 0.7375 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.243, allocations: 35.92 kB / 0.7375 GB, free: 9.523 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.0003204/0.2433, allocations: 269.7 kB / 0.7378 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.2435, allocations: 102.7 kB / 0.7379 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009616/0.2445, allocations: 488.3 kB / 0.7383 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.2445, allocations: 4 kB / 0.7384 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2445, allocations: 7.938 kB / 0.7384 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008006/0.2453, allocations: 455 kB / 0.7388 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.2474, allocations: 1.362 MB / 0.7401 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2474, allocations: 0 / 0.7401 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.2478, allocations: 79.95 kB / 0.7402 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2478, allocations: 0 / 0.7402 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2478, allocations: 11.98 kB / 0.7402 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2478, allocations: 4 kB / 0.7402 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2478, allocations: 8.094 kB / 0.7402 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.249, allocations: 0.7669 MB / 0.741 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.2494, allocations: 223.8 kB / 0.7412 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2495, allocations: 12 kB / 0.7412 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.2499, allocations: 31.95 kB / 0.7412 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.25, allocations: 35.95 kB / 0.7413 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.2501, allocations: 19.98 kB / 0.7413 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008213/0.2509, allocations: 0.6549 MB / 0.7419 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2509, allocations: 0 / 0.7419 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000942/0.2519, allocations: 339.4 kB / 0.7422 GB, free: 4.523 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.0008245/0.2527, allocations: 398.7 kB / 0.7426 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009012/0.2536, allocations: 436.5 kB / 0.743 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2536, allocations: 0 / 0.743 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.254, allocations: 196 kB / 0.7432 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.2564, allocations: 0.6089 MB / 0.7438 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.2587, allocations: 1.578 MB / 0.7454 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.2594, allocations: 1.04 MB / 0.7464 GB, free: 256 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005827/0.26, allocations: 197.5 kB / 0.7466 GB, free: 64 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3018/0.5618, allocations: 83.55 kB / 0.7466 GB, free: 82.39 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.5618, allocations: 0.5625 kB / 0.7466 GB, free: 82.39 MB / 0.5762 GB Notification: Performance of Templates: time 0.04219/0.604, allocations: 21.34 MB / 0.7675 GB, free: 75.87 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)