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.006185/0.006185, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.00136/0.00136, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7759/0.7759, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.78 kB / 0.5814 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03887/0.1859, allocations: 41.57 MB / 0.7003 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.2001, allocations: 10.38 MB / 0.7104 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.2022, allocations: 63.56 kB / 0.7105 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.204, allocations: 0.6365 MB / 0.7111 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.2097, allocations: 1.878 MB / 0.7129 GB, free: 3.535 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.2127, allocations: 1.18 MB / 0.7141 GB, free: 2.367 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004268/0.217, allocations: 3.39 MB / 0.7174 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.2184, allocations: 1.064 MB / 0.7184 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.221, allocations: 1.238 MB / 0.7196 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.2221, allocations: 0.8827 MB / 0.7205 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.2222, allocations: 100 kB / 0.7206 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.2241, allocations: 0.8617 MB / 0.7214 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.2243, allocations: 279 kB / 0.7217 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.225, allocations: 0.6337 MB / 0.7223 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.2274, allocations: 1.943 MB / 0.7242 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2274, allocations: 7.938 kB / 0.7242 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2274, allocations: 0 / 0.7242 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.2274, allocations: 0 / 0.7242 GB, free: 7.934 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.002196/0.2296, allocations: 1.544 MB / 0.7257 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2297, allocations: 8.031 kB / 0.7257 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.23, allocations: 148.1 kB / 0.7259 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.2317, allocations: 1.115 MB / 0.727 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.2318, allocations: 50 kB / 0.727 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2319, allocations: 79.94 kB / 0.7271 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.2332, allocations: 0.7866 MB / 0.7279 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2332, allocations: 4 kB / 0.7279 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.2333, allocations: 35.94 kB / 0.7279 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.2333, allocations: 16 kB / 0.7279 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2344, allocations: 0.5711 MB / 0.7285 GB, free: 3.449 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.003676/0.2381, allocations: 3.556 MB / 0.732 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.2386, allocations: 254.4 kB / 0.7322 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.2389, allocations: 178.6 kB / 0.7324 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.2395, allocations: 0.661 MB / 0.733 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2395, allocations: 38.5 kB / 0.733 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.2395, allocations: 0 / 0.733 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001146/0.2407, allocations: 0.519 MB / 0.7336 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2407, allocations: 55.41 kB / 0.7336 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.2418, allocations: 0.9533 MB / 0.7345 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.2418, allocations: 37.7 kB / 0.7346 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.2423, allocations: 0.4965 MB / 0.7351 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.2423, allocations: 119 kB / 0.7352 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2425, allocations: 114.2 kB / 0.7353 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2426, allocations: 322 kB / 0.7356 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.243, allocations: 169 kB / 0.7358 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.2434, allocations: 351.8 kB / 0.7361 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.2442, allocations: 0.512 MB / 0.7366 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2442, allocations: 4 kB / 0.7366 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001087/0.2453, allocations: 0.6216 MB / 0.7372 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2453, allocations: 8 kB / 0.7372 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2454, allocations: 7.984 kB / 0.7372 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2454, allocations: 8 kB / 0.7372 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.2458, allocations: 123.8 kB / 0.7373 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.2458, allocations: 11.94 kB / 0.7373 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.2464, allocations: 87.77 kB / 0.7374 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.2464, allocations: 27.98 kB / 0.7375 GB, free: 9.648 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.0003118/0.2467, allocations: 281.5 kB / 0.7377 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.2469, allocations: 103.3 kB / 0.7378 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.2478, allocations: 482.2 kB / 0.7383 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2478, allocations: 4 kB / 0.7383 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2478, allocations: 7.938 kB / 0.7383 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007026/0.2485, allocations: 455 kB / 0.7387 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.2504, allocations: 1.363 MB / 0.7401 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2505, allocations: 7.938 kB / 0.7401 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.2508, allocations: 76.05 kB / 0.7401 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2508, allocations: 4 kB / 0.7401 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.2508, allocations: 12 kB / 0.7402 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2508, allocations: 0 / 0.7402 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.2508, allocations: 11.92 kB / 0.7402 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.252, allocations: 0.7752 MB / 0.7409 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.2523, allocations: 224.3 kB / 0.7411 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.2524, allocations: 8 kB / 0.7411 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.2529, allocations: 35.98 kB / 0.7412 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.253, allocations: 27.91 kB / 0.7412 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.253, allocations: 19.98 kB / 0.7412 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007741/0.2538, allocations: 0.6627 MB / 0.7419 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2538, allocations: 0 / 0.7419 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000857/0.2547, allocations: 343.2 kB / 0.7422 GB, free: 4.621 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.0007996/0.2555, allocations: 402.3 kB / 0.7426 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008348/0.2563, allocations: 432.3 kB / 0.743 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2563, allocations: 0 / 0.743 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.2567, allocations: 191.8 kB / 0.7432 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.2592, allocations: 0.6079 MB / 0.7438 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2613, allocations: 1.607 MB / 0.7453 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.2619, allocations: 1.036 MB / 0.7464 GB, free: 332 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005941/0.2625, allocations: 202.8 kB / 0.7465 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2627, allocations: 75.42 kB / 0.7466 GB, free: 56 kB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.2627, allocations: 0 / 0.7466 GB, free: 56 kB / 0.5762 GB Notification: Performance of Templates: time 0.3523/0.615, allocations: 21.36 MB / 0.7675 GB, free: 75.97 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)