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.001036/0.001036, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001029/0.001029, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7793/0.7793, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.86 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03918/0.1615, allocations: 41.56 MB / 0.7009 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.1745, allocations: 10.4 MB / 0.7111 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.1758, allocations: 59.69 kB / 0.7111 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.1774, allocations: 0.6599 MB / 0.7118 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.1815, allocations: 1.971 MB / 0.7137 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.1842, allocations: 1.182 MB / 0.7149 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003655/0.1878, allocations: 3.407 MB / 0.7182 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.1892, allocations: 1.052 MB / 0.7192 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.192, allocations: 1.273 MB / 0.7205 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.1934, allocations: 0.8789 MB / 0.7213 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.1936, allocations: 100 kB / 0.7214 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.1957, allocations: 0.8734 MB / 0.7223 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.196, allocations: 279 kB / 0.7225 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008674/0.1969, allocations: 0.6299 MB / 0.7231 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.1997, allocations: 1.936 MB / 0.725 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1997, allocations: 0 / 0.725 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.006e-06/0.1997, allocations: 0 / 0.725 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.375e-05/0.1998, allocations: 3.938 kB / 0.725 GB, free: 7.805 MB / 0.5606 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.00273/0.2025, allocations: 1.515 MB / 0.7265 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2026, allocations: 8.031 kB / 0.7265 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.2029, allocations: 135.4 kB / 0.7267 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.2047, allocations: 1.105 MB / 0.7277 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.2048, allocations: 57.94 kB / 0.7278 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.2049, allocations: 75.94 kB / 0.7279 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.2063, allocations: 0.7866 MB / 0.7286 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.2063, allocations: 4 kB / 0.7286 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.2064, allocations: 28 kB / 0.7287 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.2064, allocations: 16 kB / 0.7287 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2075, allocations: 0.575 MB / 0.7292 GB, free: 3.375 MB / 0.5606 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.003939/0.2115, allocations: 3.547 MB / 0.7327 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.2121, allocations: 266.4 kB / 0.733 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.2124, allocations: 178.9 kB / 0.7331 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005111/0.213, allocations: 0.6492 MB / 0.7338 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.213, allocations: 38.56 kB / 0.7338 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.213, allocations: 0 / 0.7338 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001204/0.2142, allocations: 0.5145 MB / 0.7343 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.2143, allocations: 59.39 kB / 0.7344 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2154, allocations: 0.9533 MB / 0.7353 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.2155, allocations: 33.7 kB / 0.7353 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.2158, allocations: 0.4996 MB / 0.7358 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.86e-05/0.2159, allocations: 106.4 kB / 0.7359 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.2161, allocations: 118 kB / 0.736 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2162, allocations: 322 kB / 0.7363 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.2166, allocations: 165 kB / 0.7365 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.2171, allocations: 351.8 kB / 0.7368 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.2179, allocations: 0.5081 MB / 0.7373 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2179, allocations: 3.938 kB / 0.7373 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001125/0.2191, allocations: 0.6169 MB / 0.7379 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2191, allocations: 8 kB / 0.7379 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2191, allocations: 4.688 kB / 0.7379 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2191, allocations: 12 kB / 0.738 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.2196, allocations: 119.8 kB / 0.7381 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2196, allocations: 11.94 kB / 0.7381 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.2202, allocations: 91.12 kB / 0.7382 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.2202, allocations: 31.98 kB / 0.7382 GB, free: 9.598 MB / 0.5762 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.0003246/0.2206, allocations: 265.7 kB / 0.7384 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2207, allocations: 106.8 kB / 0.7385 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/0.2217, allocations: 490.5 kB / 0.739 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007163/0.2224, allocations: 459 kB / 0.7395 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.2224, allocations: 3.984 kB / 0.7395 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.2227, allocations: 223.8 kB / 0.7397 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.2229, allocations: 7.984 kB / 0.7397 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.2234, allocations: 23.97 kB / 0.7397 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.2235, allocations: 24.25 kB / 0.7397 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001027/0.2245, allocations: 0.5039 MB / 0.7402 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00128/0.2258, allocations: 0.838 MB / 0.741 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003427/0.2261, allocations: 179.8 kB / 0.7412 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007872/0.2269, allocations: 0.6548 MB / 0.7418 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of Backend: time 4.11e-07/0.2269, allocations: 0 / 0.7418 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.2287, allocations: 0.6902 MB / 0.7425 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003954/0.2326, allocations: 2.445 MB / 0.7449 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.2835/0.5161, allocations: 21.47 MB / 0.7659 GB, free: 78.43 MB / 0.5762 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)