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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 170.6 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9486/0.9486, allocations: 130.7 MB / 138.7 MB, free: 3.492 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 90.95 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.848e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4787, allocations: 81.57 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8281/1.307, allocations: 380.7 MB / 1 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/1.307, allocations: 95.44 kB / 1 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.803/3.11, allocations: 440.4 MB / 1.43 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.134e-06/3.11, allocations: 0 / 1.43 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001735/3.11, allocations: 32.98 kB / 1.43 GB, free: 128.4 MB / 0.6667 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.003247/3.113, allocations: 1.244 MB / 1.431 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/3.113, allocations: 11.19 kB / 1.431 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007316/3.114, allocations: 129.1 kB / 1.432 GB, free: 127.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/3.142, allocations: 12.94 MB / 1.444 GB, free: 119 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/3.142, allocations: 26.25 kB / 1.444 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/3.142, allocations: 40 kB / 1.444 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/3.144, allocations: 447.9 kB / 1.445 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/3.146, allocations: 0.6295 MB / 1.445 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/3.146, allocations: 5.828 kB / 1.445 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/3.146, allocations: 3.984 kB / 1.445 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/3.146, allocations: 20 kB / 1.445 GB, free: 117.8 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.005885/3.152, allocations: 3.383 MB / 1.449 GB, free: 114.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/3.152, allocations: 324.3 kB / 1.449 GB, free: 113.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/3.153, allocations: 147.4 kB / 1.449 GB, free: 113.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/3.153, allocations: 0.6642 MB / 1.45 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/3.153, allocations: 46.5 kB / 1.45 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.365e-06/3.153, allocations: 0 / 1.45 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0009178/3.154, allocations: 351.6 kB / 1.45 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/3.154, allocations: 55.41 kB / 1.45 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/3.155, allocations: 0.6415 MB / 1.451 GB, free: 111.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/3.155, allocations: 29.7 kB / 1.451 GB, free: 111.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/3.155, allocations: 0.4989 MB / 1.451 GB, free: 111.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/3.156, allocations: 106.5 kB / 1.451 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/3.156, allocations: 0 / 1.451 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/3.156, allocations: 327.9 kB / 1.452 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/3.156, allocations: 113.1 kB / 1.452 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/3.156, allocations: 323.3 kB / 1.452 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/3.157, allocations: 190.5 kB / 1.452 GB, free: 110.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/3.157, allocations: 4 kB / 1.452 GB, free: 110.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008491/3.157, allocations: 480.7 kB / 1.453 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/3.157, allocations: 7.469 kB / 1.453 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/3.157, allocations: 8 kB / 1.453 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/3.157, allocations: 11.95 kB / 1.453 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/3.158, allocations: 118.9 kB / 1.453 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/3.158, allocations: 15.92 kB / 1.453 GB, free: 109.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/3.159, allocations: 82.86 kB / 1.453 GB, free: 109.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/3.159, allocations: 24 kB / 1.453 GB, free: 109.4 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/3.159, allocations: 123.8 kB / 1.453 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/3.159, allocations: 82.97 kB / 1.453 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008626/3.16, allocations: 427.3 kB / 1.454 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/3.16, allocations: 6.734 kB / 1.454 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/3.16, allocations: 7.953 kB / 1.454 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005453/3.161, allocations: 398.7 kB / 1.454 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/3.163, allocations: 1.265 MB / 1.455 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/3.163, allocations: 7.953 kB / 1.455 GB, free: 107 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/3.163, allocations: 75.89 kB / 1.455 GB, free: 107 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/3.163, allocations: 6.938 kB / 1.455 GB, free: 107 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/3.163, allocations: 11.98 kB / 1.455 GB, free: 107 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/3.163, allocations: 0 / 1.455 GB, free: 107 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/3.164, allocations: 4 kB / 1.455 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/3.165, allocations: 0.7368 MB / 1.456 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/3.165, allocations: 224 kB / 1.456 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/3.166, allocations: 11.94 kB / 1.456 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/3.166, allocations: 51.17 kB / 1.456 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/3.166, allocations: 27.22 kB / 1.456 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/3.166, allocations: 19.98 kB / 1.456 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007295/3.167, allocations: 0.4952 MB / 1.457 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/3.167, allocations: 0 / 1.457 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001696/3.169, allocations: 355.2 kB / 1.457 GB, free: 105 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/3.171, allocations: 0.569 MB / 1.458 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006438/3.171, allocations: 333.6 kB / 1.458 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/3.171, allocations: 0 / 1.458 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/3.171, allocations: 155.8 kB / 1.458 GB, free: 104.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/3.174, allocations: 475.3 kB / 1.459 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/3.176, allocations: 1.183 MB / 1.46 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/3.176, allocations: 1.055 MB / 1.461 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007748/3.177, allocations: 177.5 kB / 1.461 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/3.177, allocations: 73.92 kB / 1.461 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of SimCode: time 4.51e-07/3.177, allocations: 0 / 1.461 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.02743/3.205, allocations: 16.87 MB / 1.478 GB, free: 84.9 MB / 0.6667 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)