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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7174/0.7174, allocations: 133.3 MB / 150.1 MB, free: 11.15 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.407/1.407, allocations: 222.9 MB / 404.7 MB, free: 6.09 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.001181/0.001182, allocations: 107.6 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001168, allocations: 55.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1382, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04168/0.18, allocations: 41.34 MB / 0.6825 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.1958, allocations: 10.45 MB / 0.6927 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.1977, allocations: 51.69 kB / 0.6928 GB, free: 1.441 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.1993, allocations: 0.5244 MB / 0.6933 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2998/0.4991, allocations: 1.73 MB / 0.695 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.5029, allocations: 1.07 MB / 0.696 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006713/0.5096, allocations: 4.526 MB / 0.7004 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.5113, allocations: 0.8855 MB / 0.7013 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.514, allocations: 1.056 MB / 0.7023 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.5157, allocations: 0.8961 MB / 0.7032 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.5158, allocations: 48.72 kB / 0.7032 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.5182, allocations: 0.7808 MB / 0.704 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.5185, allocations: 226.8 kB / 0.7042 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009104/0.5194, allocations: 0.5741 MB / 0.7048 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00478/0.5242, allocations: 1.886 MB / 0.7066 GB, free: 11.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5243, allocations: 0 / 0.7066 GB, free: 11.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5243, allocations: 0 / 0.7066 GB, free: 11.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.5243, allocations: 1.344 kB / 0.7066 GB, free: 11.96 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.003805/0.5281, allocations: 1.505 MB / 0.7081 GB, free: 11.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5282, allocations: 14.19 kB / 0.7081 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.5286, allocations: 134.1 kB / 0.7082 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.5306, allocations: 1.075 MB / 0.7093 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.5306, allocations: 60.27 kB / 0.7093 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.5308, allocations: 75.92 kB / 0.7094 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.5324, allocations: 0.7933 MB / 0.7102 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.5325, allocations: 1.5 kB / 0.7102 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.5326, allocations: 27.09 kB / 0.7102 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.5326, allocations: 24.97 kB / 0.7102 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.5338, allocations: 0.5658 MB / 0.7108 GB, free: 10.58 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.004152/0.538, allocations: 3.539 MB / 0.7142 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.5386, allocations: 259.6 kB / 0.7145 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.5389, allocations: 183.3 kB / 0.7147 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.5393, allocations: 0.6624 MB / 0.7153 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.5393, allocations: 35.97 kB / 0.7154 GB, free: 7.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.5394, allocations: 0 / 0.7154 GB, free: 7.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.001161/0.5405, allocations: 0.52 MB / 0.7159 GB, free: 7.832 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.5406, allocations: 54.16 kB / 0.7159 GB, free: 7.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.5419, allocations: 0.9346 MB / 0.7168 GB, free: 7.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.542, allocations: 36.73 kB / 0.7169 GB, free: 7.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.5423, allocations: 489.6 kB / 0.7173 GB, free: 7.391 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5424, allocations: 116.6 kB / 0.7174 GB, free: 7.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.5427, allocations: 120.4 kB / 0.7176 GB, free: 7.293 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.5427, allocations: 330.5 kB / 0.7179 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.5431, allocations: 166.9 kB / 0.718 GB, free: 6.984 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.5436, allocations: 344.3 kB / 0.7184 GB, free: 6.777 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000872/0.5445, allocations: 0.5164 MB / 0.7189 GB, free: 6.574 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5445, allocations: 1.812 kB / 0.7189 GB, free: 6.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001145/0.5456, allocations: 0.6243 MB / 0.7195 GB, free: 6.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5457, allocations: 6.812 kB / 0.7195 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.5457, allocations: 9.5 kB / 0.7195 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5457, allocations: 8.094 kB / 0.7195 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.5462, allocations: 127.7 kB / 0.7196 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.5462, allocations: 14.61 kB / 0.7196 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.547, allocations: 108.5 kB / 0.7197 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.5471, allocations: 25.16 kB / 0.7198 GB, free: 6.426 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.0003708/0.5475, allocations: 279.4 kB / 0.72 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.5476, allocations: 99.25 kB / 0.7201 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009933/0.5486, allocations: 484.2 kB / 0.7206 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.5486, allocations: 5.266 kB / 0.7206 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5487, allocations: 0 / 0.7206 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006754/0.5493, allocations: 455.1 kB / 0.721 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.5515, allocations: 1.355 MB / 0.7223 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5516, allocations: 6.406 kB / 0.7223 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.5519, allocations: 74.98 kB / 0.7224 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5519, allocations: 5.594 kB / 0.7224 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.552, allocations: 12.31 kB / 0.7224 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.552, allocations: 5.375 kB / 0.7224 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.552, allocations: 1.594 kB / 0.7224 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/0.5576, allocations: 3.601 MB / 0.726 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.5579, allocations: 226.6 kB / 0.7262 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.558, allocations: 6.625 kB / 0.7262 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.5586, allocations: 57.2 kB / 0.7262 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.5587, allocations: 37.95 kB / 0.7263 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.5587, allocations: 23.06 kB / 0.7263 GB, free: 3.824 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007688/0.5595, allocations: 0.6468 MB / 0.7269 GB, free: 3.543 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5595, allocations: 0 / 0.7269 GB, free: 3.543 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001569/0.5611, allocations: 464.7 kB / 0.7274 GB, free: 3.461 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.0007655/0.5618, allocations: 385.7 kB / 0.7277 GB, free: 3.297 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008962/0.5627, allocations: 410 kB / 0.7281 GB, free: 3.199 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5628, allocations: 4 kB / 0.7281 GB, free: 3.195 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.5631, allocations: 184 kB / 0.7283 GB, free: 3.152 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.566, allocations: 0.5888 MB / 0.7289 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.5685, allocations: 2.213 MB / 0.731 GB, free: 1.539 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.569, allocations: 1.041 MB / 0.7321 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008224/0.5698, allocations: 206.8 kB / 0.7323 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.57, allocations: 79.19 kB / 0.7323 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.57, allocations: 0 / 0.7323 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of Templates: time 0.03615/0.6062, allocations: 21.02 MB / 0.7529 GB, free: 1.277 MB / 0.4948 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)