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.001429/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001784/0.001785, allocations: 195.3 kB / 16.14 MB, free: 6.719 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 / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9116/0.9116, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 69.08 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2007, allocations: 80.94 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3379/0.5386, allocations: 41.32 MB / 0.6241 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.5519, allocations: 10.44 MB / 0.6343 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.5537, allocations: 51.53 kB / 0.6343 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.5552, allocations: 0.5356 MB / 0.6348 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.5592, allocations: 1.735 MB / 0.6365 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.5616, allocations: 1.076 MB / 0.6376 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004155/0.5658, allocations: 4.513 MB / 0.642 GB, free: 20.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.567, allocations: 0.8719 MB / 0.6428 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.5691, allocations: 1.056 MB / 0.6439 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.5702, allocations: 0.894 MB / 0.6447 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.5704, allocations: 48.09 kB / 0.6448 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.5721, allocations: 0.7811 MB / 0.6455 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.5724, allocations: 227 kB / 0.6458 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.5729, allocations: 0.58 MB / 0.6463 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.5753, allocations: 1.871 MB / 0.6482 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5753, allocations: 6.438 kB / 0.6482 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5753, allocations: 0 / 0.6482 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.5753, allocations: 0 / 0.6482 GB, free: 17.77 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.002323/0.5777, allocations: 1.515 MB / 0.6496 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.5777, allocations: 8.5 kB / 0.6496 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.578, allocations: 134 kB / 0.6498 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.5794, allocations: 1.08 MB / 0.6508 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.5794, allocations: 57.72 kB / 0.6509 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.5795, allocations: 72.47 kB / 0.651 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.581, allocations: 0.7882 MB / 0.6517 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.581, allocations: 4.531 kB / 0.6517 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.5811, allocations: 34.88 kB / 0.6518 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.5811, allocations: 19.28 kB / 0.6518 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.5822, allocations: 0.5648 MB / 0.6523 GB, free: 15.36 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.003839/0.5861, allocations: 3.543 MB / 0.6558 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.5867, allocations: 262.2 kB / 0.656 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.5871, allocations: 178.8 kB / 0.6562 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/0.5875, allocations: 0.6553 MB / 0.6569 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.5876, allocations: 42.3 kB / 0.6569 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.5876, allocations: 0 / 0.6569 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001299/0.5889, allocations: 0.5083 MB / 0.6574 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.5889, allocations: 59.02 kB / 0.6574 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5903, allocations: 0.9365 MB / 0.6584 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.5904, allocations: 33.61 kB / 0.6584 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.5907, allocations: 0.4955 MB / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.5909, allocations: 108.7 kB / 0.659 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.591, allocations: 109.8 kB / 0.6591 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.5911, allocations: 329.4 kB / 0.6594 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.5915, allocations: 165.7 kB / 0.6596 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.5919, allocations: 352.4 kB / 0.6599 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.5927, allocations: 0.5116 MB / 0.6604 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.5927, allocations: 1.031 kB / 0.6604 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001173/0.5939, allocations: 0.623 MB / 0.661 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.594, allocations: 11.34 kB / 0.661 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.594, allocations: 5.812 kB / 0.661 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.594, allocations: 12.52 kB / 0.661 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.5945, allocations: 122.3 kB / 0.6611 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.5945, allocations: 9.625 kB / 0.6612 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/0.5953, allocations: 110.1 kB / 0.6613 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.5954, allocations: 29.3 kB / 0.6613 GB, free: 9.238 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.0003801/0.5958, allocations: 279 kB / 0.6616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.5959, allocations: 105 kB / 0.6617 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.597, allocations: 480.9 kB / 0.6621 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.597, allocations: 3.828 kB / 0.6621 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.597, allocations: 5.125 kB / 0.6621 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007675/0.5978, allocations: 455.9 kB / 0.6626 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.6001, allocations: 1.355 MB / 0.6639 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6001, allocations: 1.188 kB / 0.6639 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.6004, allocations: 78.36 kB / 0.664 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6004, allocations: 6.141 kB / 0.664 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.6005, allocations: 13.67 kB / 0.664 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.6005, allocations: 3.891 kB / 0.664 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6005, allocations: 11.06 kB / 0.664 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.6017, allocations: 0.7611 MB / 0.6647 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.6021, allocations: 229.7 kB / 0.6649 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.6022, allocations: 7.656 kB / 0.665 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.6028, allocations: 56.06 kB / 0.665 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.6029, allocations: 28.95 kB / 0.665 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.6029, allocations: 20.34 kB / 0.6651 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009234/0.6038, allocations: 0.6483 MB / 0.6657 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6038, allocations: 4 kB / 0.6657 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00105/0.6049, allocations: 326.9 kB / 0.666 GB, free: 6.801 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.0007581/0.6057, allocations: 390.3 kB / 0.6664 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009769/0.6067, allocations: 417.1 kB / 0.6668 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6067, allocations: 1.312 kB / 0.6668 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.6071, allocations: 185.7 kB / 0.667 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.6099, allocations: 0.5962 MB / 0.6675 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.6123, allocations: 1.93 MB / 0.6694 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.6128, allocations: 1.037 MB / 0.6704 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008483/0.6137, allocations: 204.1 kB / 0.6706 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.6138, allocations: 85.11 kB / 0.6707 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.6138, allocations: 0 / 0.6707 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.03801/0.6519, allocations: 20.17 MB / 0.6904 GB, free: 13.71 MB / 0.5137 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)