Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008209/0.000821, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008581/0.0008581, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8417/0.8417, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2634/0.4141, allocations: 34.8 MB / 0.6212 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009212/0.4234, allocations: 8.927 MB / 0.6299 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.4249, allocations: 46.75 kB / 0.6299 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.4267, allocations: 0.618 MB / 0.6305 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.4314, allocations: 1.817 MB / 0.6323 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.4345, allocations: 1.343 MB / 0.6336 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002524/0.437, allocations: 1.971 MB / 0.6355 GB, free: 25.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000794/0.4379, allocations: 0.7499 MB / 0.6363 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.439, allocations: 0.8875 MB / 0.6371 GB, free: 25.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.4395, allocations: 0.5525 MB / 0.6377 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.4396, allocations: 36.5 kB / 0.6377 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.4408, allocations: 0.5332 MB / 0.6382 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.441, allocations: 194.8 kB / 0.6384 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.4411, allocations: 262.7 kB / 0.6387 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009357/0.4421, allocations: 1.363 MB / 0.64 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.4421, allocations: 0 / 0.64 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4421, allocations: 0 / 0.64 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.4421, allocations: 0 / 0.64 GB, free: 24.05 MB / 0.4981 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.001559/0.4437, allocations: 1.318 MB / 0.6413 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.4437, allocations: 9.875 kB / 0.6413 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.444, allocations: 132.7 kB / 0.6414 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.4451, allocations: 0.9844 MB / 0.6424 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.4452, allocations: 56.25 kB / 0.6424 GB, free: 22.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.4453, allocations: 72.23 kB / 0.6425 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.4462, allocations: 0.787 MB / 0.6433 GB, free: 22.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4463, allocations: 6.875 kB / 0.6433 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.4463, allocations: 25.66 kB / 0.6433 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.4464, allocations: 23.14 kB / 0.6433 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/0.4472, allocations: 0.5898 MB / 0.6439 GB, free: 21.85 MB / 0.4981 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.002664/0.4499, allocations: 3.571 MB / 0.6474 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.4503, allocations: 269.7 kB / 0.6477 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.4506, allocations: 0.6564 MB / 0.6483 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.4507, allocations: 42.27 kB / 0.6483 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.4507, allocations: 0 / 0.6483 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.0008957/0.4516, allocations: 0.5452 MB / 0.6489 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.4516, allocations: 58.03 kB / 0.6489 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/0.4524, allocations: 0.9693 MB / 0.6499 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.4525, allocations: 36.33 kB / 0.6499 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.4527, allocations: 0.4926 MB / 0.6504 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.4528, allocations: 112.5 kB / 0.6505 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.4528, allocations: 10.69 kB / 0.6505 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.4529, allocations: 325.8 kB / 0.6508 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.4532, allocations: 176.7 kB / 0.651 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.4535, allocations: 355.7 kB / 0.6513 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.4538, allocations: 238.7 kB / 0.6516 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4538, allocations: 2.625 kB / 0.6516 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008283/0.4547, allocations: 0.6312 MB / 0.6522 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4547, allocations: 8.094 kB / 0.6522 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4547, allocations: 9.516 kB / 0.6522 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4547, allocations: 8.094 kB / 0.6522 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.4551, allocations: 134.1 kB / 0.6523 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.4551, allocations: 12.25 kB / 0.6523 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.4557, allocations: 119.7 kB / 0.6525 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.4558, allocations: 27.58 kB / 0.6525 GB, free: 16.06 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.456, allocations: 272.4 kB / 0.6527 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.4561, allocations: 105.5 kB / 0.6528 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008434/0.457, allocations: 0.5034 MB / 0.6533 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.457, allocations: 6.641 kB / 0.6533 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.457, allocations: 1.031 kB / 0.6533 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006315/0.4576, allocations: 468.9 kB / 0.6538 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.4593, allocations: 1.399 MB / 0.6552 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4593, allocations: 5 kB / 0.6552 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.4596, allocations: 79.11 kB / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4596, allocations: 2.531 kB / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4597, allocations: 17.27 kB / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4597, allocations: 2.031 kB / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4597, allocations: 1.812 kB / 0.6553 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4607, allocations: 0.8548 MB / 0.6561 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.461, allocations: 253.4 kB / 0.6563 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4611, allocations: 8.031 kB / 0.6563 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.4617, allocations: 64.28 kB / 0.6564 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.4617, allocations: 26.34 kB / 0.6564 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.4618, allocations: 23.81 kB / 0.6564 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007347/0.4625, allocations: 0.676 MB / 0.6571 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4625, allocations: 0 / 0.6571 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008526/0.4634, allocations: 340.8 kB / 0.6574 GB, free: 13.47 MB / 0.4981 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 (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.0005686/0.4639, allocations: 380.1 kB / 0.6578 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007872/0.4647, allocations: 441.6 kB / 0.6582 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4648, allocations: 2.031 kB / 0.6582 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.4651, allocations: 198.5 kB / 0.6584 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/0.4675, allocations: 0.5978 MB / 0.659 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.4696, allocations: 1.951 MB / 0.6609 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.4701, allocations: 1.062 MB / 0.6619 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000672/0.4708, allocations: 200.3 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.471, allocations: 83.61 kB / 0.6622 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 6.32e-07/0.471, allocations: 1.219 kB / 0.6622 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.03003/0.501, allocations: 20.16 MB / 0.6819 GB, free: 5.453 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: