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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00127/0.001271, allocations: 201.5 kB / 16.14 MB, free: 6.793 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7592/0.7592, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.16 kB / 0.5011 GB, free: 4.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4239, allocations: 80.2 MB / 0.5794 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04422/0.4681, allocations: 41.34 MB / 0.6198 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.4843, allocations: 10.44 MB / 0.63 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.4866, allocations: 50.31 kB / 0.63 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.4886, allocations: 0.5259 MB / 0.6305 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.4943, allocations: 1.741 MB / 0.6322 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.4973, allocations: 1.069 MB / 0.6333 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005192/0.5025, allocations: 4.52 MB / 0.6377 GB, free: 5.926 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.5038, allocations: 0.8848 MB / 0.6386 GB, free: 5.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/0.5058, allocations: 1.038 MB / 0.6396 GB, free: 3.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.5069, allocations: 0.8944 MB / 0.6405 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.507, allocations: 48 kB / 0.6405 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.5091, allocations: 0.7833 MB / 0.6413 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.5093, allocations: 227 kB / 0.6415 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.51, allocations: 0.5751 MB / 0.642 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.5123, allocations: 1.877 MB / 0.6439 GB, free: 15.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5123, allocations: 0 / 0.6439 GB, free: 15.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.5123, allocations: 4 kB / 0.6439 GB, free: 15.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.5124, allocations: 0 / 0.6439 GB, free: 15.56 MB / 494.1 MB 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.002653/0.515, allocations: 1.515 MB / 0.6454 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5151, allocations: 8.031 kB / 0.6454 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.5155, allocations: 135.4 kB / 0.6455 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.517, allocations: 1.079 MB / 0.6466 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.5171, allocations: 54 kB / 0.6466 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.5172, allocations: 68 kB / 0.6467 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5185, allocations: 0.7944 MB / 0.6474 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5186, allocations: 0 / 0.6474 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.5186, allocations: 28 kB / 0.6475 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.5187, allocations: 23.92 kB / 0.6475 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5198, allocations: 0.5711 MB / 0.6481 GB, free: 11.16 MB / 494.1 MB 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.00387/0.5237, allocations: 3.551 MB / 0.6515 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.5243, allocations: 254.4 kB / 0.6518 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.5246, allocations: 175.2 kB / 0.6519 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/0.5252, allocations: 0.6615 MB / 0.6526 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.5252, allocations: 38.56 kB / 0.6526 GB, free: 6.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.5252, allocations: 0 / 0.6526 GB, free: 6.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001213/0.5265, allocations: 0.5171 MB / 0.6531 GB, free: 5.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.5265, allocations: 55.41 kB / 0.6532 GB, free: 5.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.5277, allocations: 0.9454 MB / 0.6541 GB, free: 4.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.5277, allocations: 33.7 kB / 0.6541 GB, free: 4.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.5281, allocations: 0.4917 MB / 0.6546 GB, free: 3.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.5282, allocations: 114.4 kB / 0.6547 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.5284, allocations: 114.2 kB / 0.6548 GB, free: 3.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5285, allocations: 330 kB / 0.6551 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.5289, allocations: 161 kB / 0.6553 GB, free: 3.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.5294, allocations: 352.4 kB / 0.6556 GB, free: 2.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.5302, allocations: 0.5117 MB / 0.6561 GB, free: 2.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5302, allocations: 4 kB / 0.6561 GB, free: 2.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001109/0.5313, allocations: 0.6181 MB / 0.6567 GB, free: 1.652 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5314, allocations: 8 kB / 0.6567 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5314, allocations: 8 kB / 0.6568 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.5314, allocations: 8 kB / 0.6568 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.5319, allocations: 123.8 kB / 0.6569 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.5319, allocations: 8.438 kB / 0.6569 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.5326, allocations: 119.1 kB / 0.657 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.5327, allocations: 24 kB / 0.657 GB, free: 1.359 MB / 494.1 MB 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.0003383/0.533, allocations: 273.6 kB / 0.6573 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.5332, allocations: 106.7 kB / 0.6574 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/0.5341, allocations: 480 kB / 0.6578 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.5341, allocations: 7.984 kB / 0.6579 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5342, allocations: 0 / 0.6579 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007154/0.5349, allocations: 450.4 kB / 0.6583 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.5369, allocations: 1.356 MB / 0.6596 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.537, allocations: 4 kB / 0.6596 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.5373, allocations: 80.05 kB / 0.6597 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.5373, allocations: 4 kB / 0.6597 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.5374, allocations: 11.98 kB / 0.6597 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5374, allocations: 0 / 0.6597 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5374, allocations: 4 kB / 0.6597 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.5387, allocations: 0.7669 MB / 0.6605 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.539, allocations: 223.8 kB / 0.6607 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5391, allocations: 4 kB / 0.6607 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.5397, allocations: 59.84 kB / 0.6607 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.5398, allocations: 39.84 kB / 0.6608 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.5398, allocations: 19.98 kB / 0.6608 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007978/0.5406, allocations: 0.6471 MB / 0.6614 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5406, allocations: 3.938 kB / 0.6614 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009421/0.5416, allocations: 331.4 kB / 0.6617 GB, free: 12.37 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 (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.0007845/0.5424, allocations: 381.5 kB / 0.6621 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000932/0.5433, allocations: 416.3 kB / 0.6625 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5433, allocations: 0 / 0.6625 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.5437, allocations: 189.8 kB / 0.6627 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.5464, allocations: 0.5851 MB / 0.6632 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.549, allocations: 1.949 MB / 0.6652 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.5496, allocations: 1.032 MB / 0.6662 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007634/0.5504, allocations: 199 kB / 0.6664 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.5506, allocations: 75.42 kB / 0.6664 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.5506, allocations: 7.938 kB / 0.6664 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.03428/0.5849, allocations: 20.16 MB / 0.6861 GB, free: 3.641 MB / 0.5137 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)