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.0008345/0.0008345, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008876/0.0008876, allocations: 168.7 kB / 15.95 MB, free: 204 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.163/1.163, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6629/0.6629, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 0.5034 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3266, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03383/0.3605, allocations: 38.31 MB / 0.6205 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3736, allocations: 9.729 MB / 0.63 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.375, allocations: 50.56 kB / 0.63 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.3764, allocations: 459.5 kB / 0.6305 GB, free: 14.94 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.38, allocations: 1.467 MB / 0.6319 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.3822, allocations: 0.8629 MB / 0.6328 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.3864, allocations: 3.848 MB / 0.6365 GB, free: 9.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.3875, allocations: 0.7416 MB / 0.6372 GB, free: 9.016 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.3892, allocations: 0.9877 MB / 0.6382 GB, free: 8.023 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3903, allocations: 0.8049 MB / 0.639 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.3905, allocations: 36 kB / 0.639 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.3917, allocations: 494.8 kB / 0.6395 GB, free: 6.695 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.392, allocations: 203.1 kB / 0.6397 GB, free: 6.496 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.3922, allocations: 257.1 kB / 0.6399 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.3935, allocations: 1.373 MB / 0.6413 GB, free: 4.863 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3935, allocations: 4 kB / 0.6413 GB, free: 4.859 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3935, allocations: 0 / 0.6413 GB, free: 4.859 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.3936, allocations: 0 / 0.6413 GB, free: 4.859 MB / 478.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.001865/0.3954, allocations: 1.312 MB / 0.6426 GB, free: 3.492 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.3955, allocations: 12.03 kB / 0.6426 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.3958, allocations: 126.6 kB / 0.6427 GB, free: 3.355 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.3972, allocations: 1.045 MB / 0.6437 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.3973, allocations: 58 kB / 0.6438 GB, free: 2.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/0.3974, allocations: 75.91 kB / 0.6438 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.3986, allocations: 0.7982 MB / 0.6446 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3986, allocations: 0 / 0.6446 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.3987, allocations: 28 kB / 0.6446 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.3987, allocations: 31.98 kB / 0.6447 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/0.3997, allocations: 0.5828 MB / 0.6452 GB, free: 0.6641 MB / 478.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.003375/0.4031, allocations: 3.552 MB / 0.6487 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.4036, allocations: 270.6 kB / 0.649 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.4039, allocations: 186.3 kB / 0.6491 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.4043, allocations: 0.6571 MB / 0.6498 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4043, allocations: 38.56 kB / 0.6498 GB, free: 11.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.273e-06/0.4043, allocations: 0 / 0.6498 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.000986/0.4053, allocations: 0.5411 MB / 0.6504 GB, free: 11.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4054, allocations: 55.41 kB / 0.6504 GB, free: 10.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.4063, allocations: 0.9299 MB / 0.6513 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.4064, allocations: 37.64 kB / 0.6514 GB, free: 9.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.4067, allocations: 499.6 kB / 0.6518 GB, free: 9.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.4068, allocations: 118.3 kB / 0.6519 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.4069, allocations: 12 kB / 0.652 GB, free: 9.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.407, allocations: 334 kB / 0.6523 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.4073, allocations: 173 kB / 0.6524 GB, free: 8.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.4077, allocations: 356.5 kB / 0.6528 GB, free: 8.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.4081, allocations: 231.8 kB / 0.653 GB, free: 8.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4081, allocations: 0 / 0.653 GB, free: 8.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009545/0.4091, allocations: 0.6309 MB / 0.6536 GB, free: 7.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4091, allocations: 8 kB / 0.6536 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4091, allocations: 4 kB / 0.6536 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4091, allocations: 15.98 kB / 0.6536 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.4095, allocations: 123.9 kB / 0.6538 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4095, allocations: 15.94 kB / 0.6538 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.4101, allocations: 123.4 kB / 0.6539 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.4101, allocations: 24 kB / 0.6539 GB, free: 7.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.4104, allocations: 282.4 kB / 0.6542 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.4106, allocations: 98.78 kB / 0.6543 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008394/0.4114, allocations: 498.3 kB / 0.6548 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4114, allocations: 8 kB / 0.6548 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4114, allocations: 0 / 0.6548 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000628/0.4121, allocations: 475 kB / 0.6552 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.4138, allocations: 1.375 MB / 0.6566 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4138, allocations: 0 / 0.6566 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.4141, allocations: 91.97 kB / 0.6566 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4141, allocations: 4 kB / 0.6566 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.4141, allocations: 11.95 kB / 0.6567 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4141, allocations: 4 kB / 0.6567 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4141, allocations: 0 / 0.6567 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.4152, allocations: 0.8009 MB / 0.6574 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.4155, allocations: 247.8 kB / 0.6577 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.4156, allocations: 8 kB / 0.6577 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.4161, allocations: 59.83 kB / 0.6577 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.4161, allocations: 31.97 kB / 0.6578 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.4162, allocations: 19.98 kB / 0.6578 GB, free: 3.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007054/0.4169, allocations: 0.6354 MB / 0.6584 GB, free: 2.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4169, allocations: 0 / 0.6584 GB, free: 2.473 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007206/0.4176, allocations: 327.4 kB / 0.6587 GB, free: 2.152 MB / 494.1 MB 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.0005408/0.4182, allocations: 376.9 kB / 0.6591 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007325/0.4189, allocations: 445.4 kB / 0.6595 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4189, allocations: 0 / 0.6595 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.4193, allocations: 193.3 kB / 0.6597 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.4215, allocations: 0.5905 MB / 0.6603 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.4237, allocations: 1.954 MB / 0.6622 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.4242, allocations: 1.036 MB / 0.6632 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006081/0.4248, allocations: 195.9 kB / 0.6634 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.425, allocations: 87.36 kB / 0.6635 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.425, allocations: 0 / 0.6635 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.02711/0.4521, allocations: 19.51 MB / 0.6825 GB, free: 10.04 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)