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.001186/0.001186, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001219/0.001219, allocations: 191 kB / 17.29 MB, free: 5.516 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8072/0.8072, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.89 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3546, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03205/0.3867, allocations: 41.57 MB / 0.6264 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.4011, allocations: 10.38 MB / 0.6365 GB, free: 6.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.403, allocations: 55.69 kB / 0.6365 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.4051, allocations: 0.6365 MB / 0.6372 GB, free: 5.828 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.4103, allocations: 1.881 MB / 0.639 GB, free: 3.941 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.4133, allocations: 1.183 MB / 0.6402 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004789/0.4181, allocations: 3.389 MB / 0.6435 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.4199, allocations: 1.058 MB / 0.6445 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.423, allocations: 1.233 MB / 0.6457 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.4248, allocations: 0.8867 MB / 0.6466 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.4251, allocations: 103.9 kB / 0.6467 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.4275, allocations: 0.8539 MB / 0.6475 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.4279, allocations: 287 kB / 0.6478 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.429, allocations: 0.6221 MB / 0.6484 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.4323, allocations: 1.932 MB / 0.6503 GB, free: 8.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4324, allocations: 0 / 0.6503 GB, free: 8.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.201e-05/0.4324, allocations: 4 kB / 0.6503 GB, free: 8.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.945e-05/0.4324, allocations: 0 / 0.6503 GB, free: 8.363 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.002914/0.4354, allocations: 1.521 MB / 0.6518 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4354, allocations: 9.109 kB / 0.6518 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.4358, allocations: 139.4 kB / 0.6519 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.438, allocations: 1.107 MB / 0.653 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.4381, allocations: 54 kB / 0.653 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4382, allocations: 72 kB / 0.6531 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.4395, allocations: 0.7944 MB / 0.6539 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4396, allocations: 0 / 0.6539 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.4396, allocations: 32 kB / 0.6539 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.4397, allocations: 20 kB / 0.6539 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.4407, allocations: 0.5711 MB / 0.6545 GB, free: 3.926 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.003781/0.4445, allocations: 3.548 MB / 0.6579 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.4451, allocations: 262.4 kB / 0.6582 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.4454, allocations: 172.8 kB / 0.6584 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/0.4459, allocations: 0.6649 MB / 0.659 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.446, allocations: 30.56 kB / 0.659 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.446, allocations: 3.938 kB / 0.659 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001128/0.4471, allocations: 0.5202 MB / 0.6596 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.4472, allocations: 63.41 kB / 0.6596 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.4483, allocations: 0.9493 MB / 0.6605 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.4483, allocations: 33.7 kB / 0.6606 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.4487, allocations: 0.4918 MB / 0.6611 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.4488, allocations: 110.5 kB / 0.6612 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.449, allocations: 114 kB / 0.6613 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.4491, allocations: 326 kB / 0.6616 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.4494, allocations: 169 kB / 0.6617 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.4499, allocations: 350.9 kB / 0.6621 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.4507, allocations: 0.5031 MB / 0.6626 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4507, allocations: 4 kB / 0.6626 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001118/0.4518, allocations: 0.6212 MB / 0.6632 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4519, allocations: 8 kB / 0.6632 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4519, allocations: 4 kB / 0.6632 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4519, allocations: 8 kB / 0.6632 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.4523, allocations: 131.8 kB / 0.6633 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.4524, allocations: 8 kB / 0.6633 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.453, allocations: 91.38 kB / 0.6634 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.453, allocations: 27.98 kB / 0.6634 GB, free: 10.14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003446/0.4534, allocations: 270.5 kB / 0.6637 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.4536, allocations: 98.78 kB / 0.6638 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.4545, allocations: 494.9 kB / 0.6643 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.4545, allocations: 0 / 0.6643 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4545, allocations: 4 kB / 0.6643 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006727/0.4552, allocations: 459 kB / 0.6647 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.4573, allocations: 1.366 MB / 0.666 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.4573, allocations: 4 kB / 0.666 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.4577, allocations: 71.89 kB / 0.6661 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.4577, allocations: 4.156 kB / 0.6661 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.4577, allocations: 12 kB / 0.6661 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4577, allocations: 3.984 kB / 0.6661 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4577, allocations: 4 kB / 0.6661 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.459, allocations: 0.7669 MB / 0.6669 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.4594, allocations: 227.7 kB / 0.6671 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4595, allocations: 12.06 kB / 0.6671 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.46, allocations: 32.03 kB / 0.6671 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.4601, allocations: 27.95 kB / 0.6672 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.4601, allocations: 19.98 kB / 0.6672 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008762/0.461, allocations: 0.6549 MB / 0.6678 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.461, allocations: 0 / 0.6678 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001018/0.462, allocations: 343.4 kB / 0.6682 GB, free: 5.133 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.0008188/0.4629, allocations: 393.5 kB / 0.6685 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008914/0.4638, allocations: 424.6 kB / 0.6689 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4638, allocations: 0 / 0.6689 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.4642, allocations: 195.7 kB / 0.6691 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.4665, allocations: 0.6185 MB / 0.6697 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.469, allocations: 1.578 MB / 0.6713 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.4696, allocations: 1.032 MB / 0.6723 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006559/0.4702, allocations: 199.4 kB / 0.6725 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.4704, allocations: 79.42 kB / 0.6725 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.625e-06/0.4704, allocations: 0 / 0.6725 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of Templates: time 0.03449/0.5049, allocations: 21.21 MB / 0.6933 GB, free: 11.62 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)