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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001386, allocations: 185 kB / 15.98 MB, free: 5.789 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7226/0.7226, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 403.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 113.9 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009902/0.0009902, allocations: 51.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1436, allocations: 80.2 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04067/0.1843, allocations: 41.34 MB / 0.6805 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.2012, allocations: 10.44 MB / 0.6907 GB, free: 2.844 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.2039, allocations: 55.62 kB / 0.6908 GB, free: 2.789 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.206, allocations: 0.5205 MB / 0.6913 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.2118, allocations: 1.752 MB / 0.693 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3475/0.5593, allocations: 1.056 MB / 0.694 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007897/0.5672, allocations: 4.526 MB / 0.6985 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.5695, allocations: 0.8857 MB / 0.6993 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.5727, allocations: 1.056 MB / 0.7003 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.5746, allocations: 0.8926 MB / 0.7012 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.5747, allocations: 50.38 kB / 0.7013 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.5769, allocations: 0.7739 MB / 0.702 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.5772, allocations: 235.8 kB / 0.7022 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008058/0.5781, allocations: 0.5735 MB / 0.7028 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.5813, allocations: 1.881 MB / 0.7046 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.5813, allocations: 1.438 kB / 0.7046 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5813, allocations: 4.656 kB / 0.7047 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.5813, allocations: 0 / 0.7047 GB, free: 13.09 MB / 490.7 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.003034/0.5844, allocations: 1.509 MB / 0.7061 GB, free: 12.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5844, allocations: 9.5 kB / 0.7061 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.5848, allocations: 134.5 kB / 0.7063 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.5865, allocations: 1.08 MB / 0.7073 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.5866, allocations: 57.53 kB / 0.7074 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5867, allocations: 71.62 kB / 0.7074 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5883, allocations: 0.7934 MB / 0.7082 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.5883, allocations: 1.938 kB / 0.7082 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.5884, allocations: 28.5 kB / 0.7082 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.5884, allocations: 20.89 kB / 0.7083 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5896, allocations: 0.5726 MB / 0.7088 GB, free: 11.73 MB / 490.7 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.003922/0.5936, allocations: 3.546 MB / 0.7123 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.5942, allocations: 257.6 kB / 0.7125 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.5946, allocations: 176.4 kB / 0.7127 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.5949, allocations: 0.6678 MB / 0.7134 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.595, allocations: 39 kB / 0.7134 GB, free: 9.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.595, allocations: 0 / 0.7134 GB, free: 9.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.001308/0.5963, allocations: 0.5136 MB / 0.7139 GB, free: 8.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.5963, allocations: 53.69 kB / 0.7139 GB, free: 8.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.5976, allocations: 0.9395 MB / 0.7149 GB, free: 8.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.5977, allocations: 33.14 kB / 0.7149 GB, free: 8.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.598, allocations: 0.4887 MB / 0.7154 GB, free: 8.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.5981, allocations: 111 kB / 0.7155 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.5983, allocations: 116.5 kB / 0.7156 GB, free: 8.438 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.5984, allocations: 337.4 kB / 0.7159 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.5988, allocations: 160.9 kB / 0.7161 GB, free: 8.125 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.5992, allocations: 348.4 kB / 0.7164 GB, free: 7.922 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.6001, allocations: 0.5066 MB / 0.7169 GB, free: 7.723 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6001, allocations: 5.375 kB / 0.7169 GB, free: 7.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00111/0.6012, allocations: 0.6233 MB / 0.7175 GB, free: 7.621 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6012, allocations: 6.438 kB / 0.7175 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6012, allocations: 5.25 kB / 0.7175 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.6013, allocations: 7.781 kB / 0.7175 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.6017, allocations: 122.6 kB / 0.7176 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.6017, allocations: 12.3 kB / 0.7176 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/0.6026, allocations: 113.3 kB / 0.7178 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.6026, allocations: 30.44 kB / 0.7178 GB, free: 7.574 MB / 490.7 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.0003666/0.603, allocations: 277.4 kB / 0.7181 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.6032, allocations: 98.97 kB / 0.7181 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.6042, allocations: 488.8 kB / 0.7186 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.6042, allocations: 5.781 kB / 0.7186 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6042, allocations: 0 / 0.7186 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006948/0.6049, allocations: 447.5 kB / 0.719 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.6071, allocations: 1.36 MB / 0.7204 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6071, allocations: 0.9375 kB / 0.7204 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.6075, allocations: 82.95 kB / 0.7205 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.6075, allocations: 2.406 kB / 0.7205 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.6075, allocations: 12.28 kB / 0.7205 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.6075, allocations: 6.531 kB / 0.7205 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6075, allocations: 5.188 kB / 0.7205 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005889/0.6134, allocations: 3.591 MB / 0.724 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.6138, allocations: 226.4 kB / 0.7242 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.6139, allocations: 5.719 kB / 0.7242 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.6144, allocations: 58.98 kB / 0.7243 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.6145, allocations: 35.5 kB / 0.7243 GB, free: 5.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.6145, allocations: 18.02 kB / 0.7243 GB, free: 5.348 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008845/0.6154, allocations: 0.6529 MB / 0.7249 GB, free: 5.238 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6154, allocations: 4 kB / 0.725 GB, free: 5.234 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001819/0.6173, allocations: 455.9 kB / 0.7254 GB, free: 5.195 MB / 490.7 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 (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.0009328/0.6182, allocations: 381.3 kB / 0.7258 GB, free: 5.043 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009973/0.6192, allocations: 420.7 kB / 0.7262 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6192, allocations: 1.438 kB / 0.7262 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.6196, allocations: 180.8 kB / 0.7263 GB, free: 5.004 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.6226, allocations: 0.5945 MB / 0.7269 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.6255, allocations: 2.214 MB / 0.7291 GB, free: 3.387 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.6259, allocations: 1.046 MB / 0.7301 GB, free: 2.652 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008488/0.6268, allocations: 203.4 kB / 0.7303 GB, free: 2.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.627, allocations: 77.89 kB / 0.7304 GB, free: 2.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.627, allocations: 0 / 0.7304 GB, free: 2.59 MB / 490.7 MB Notification: Performance of Templates: time 0.03698/0.664, allocations: 21.01 MB / 0.7509 GB, free: 3.875 MB / 0.4948 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)