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.001142/0.001142, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001203/0.001203, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7192/0.7192, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 65.22 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03515/0.1521, allocations: 41.57 MB / 0.7059 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.1643, allocations: 10.37 MB / 0.716 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.1656, allocations: 59.62 kB / 0.7161 GB, free: 1.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1671, allocations: 0.66 MB / 0.7167 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003983/0.1711, allocations: 1.978 MB / 0.7187 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.1736, allocations: 1.18 MB / 0.7198 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.1771, allocations: 3.402 MB / 0.7232 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.1784, allocations: 1.068 MB / 0.7242 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.1807, allocations: 1.258 MB / 0.7254 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.182, allocations: 0.8945 MB / 0.7263 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.1821, allocations: 100 kB / 0.7264 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.1838, allocations: 0.8578 MB / 0.7272 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.1841, allocations: 287 kB / 0.7275 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.1848, allocations: 0.626 MB / 0.7281 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.187, allocations: 1.932 MB / 0.73 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.187, allocations: 4 kB / 0.73 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.1871, allocations: 0 / 0.73 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.221e-05/0.1871, allocations: 3.938 kB / 0.73 GB, free: 3.297 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.0023/0.1894, allocations: 1.515 MB / 0.7315 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1894, allocations: 13.11 kB / 0.7315 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.1898, allocations: 135.4 kB / 0.7316 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.1914, allocations: 1.099 MB / 0.7327 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.1915, allocations: 61.94 kB / 0.7328 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.1916, allocations: 72 kB / 0.7328 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.1928, allocations: 0.7905 MB / 0.7336 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.1929, allocations: 0 / 0.7336 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/0.1929, allocations: 28 kB / 0.7336 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.193, allocations: 23.98 kB / 0.7337 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.194, allocations: 0.5711 MB / 0.7342 GB, free: 14.86 MB / 0.5762 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.003602/0.1976, allocations: 3.547 MB / 0.7377 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.1981, allocations: 262.4 kB / 0.7379 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.1985, allocations: 178.5 kB / 0.7381 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.1989, allocations: 0.6537 MB / 0.7387 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.199, allocations: 42.56 kB / 0.7388 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.532e-06/0.199, allocations: 0 / 0.7388 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001089/0.2001, allocations: 0.5158 MB / 0.7393 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.2001, allocations: 51.41 kB / 0.7393 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.2011, allocations: 0.9611 MB / 0.7403 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.2012, allocations: 29.7 kB / 0.7403 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.2015, allocations: 499.6 kB / 0.7408 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.2016, allocations: 122.3 kB / 0.7409 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.2018, allocations: 114.1 kB / 0.741 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.2019, allocations: 326 kB / 0.7413 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.2022, allocations: 165 kB / 0.7415 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.2027, allocations: 347 kB / 0.7418 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.2034, allocations: 0.507 MB / 0.7423 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2035, allocations: 0 / 0.7423 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001045/0.2045, allocations: 0.6175 MB / 0.7429 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2045, allocations: 12.03 kB / 0.7429 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2046, allocations: 8 kB / 0.7429 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2046, allocations: 8 kB / 0.7429 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.205, allocations: 119.8 kB / 0.743 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.205, allocations: 19.91 kB / 0.7431 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.2055, allocations: 91.12 kB / 0.7431 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.2056, allocations: 24 kB / 0.7432 GB, free: 5.078 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.0003119/0.2059, allocations: 269.7 kB / 0.7434 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2061, allocations: 106.7 kB / 0.7435 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008797/0.207, allocations: 484.5 kB / 0.744 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006717/0.2076, allocations: 459 kB / 0.7444 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2077, allocations: 0 / 0.7444 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.2079, allocations: 223.7 kB / 0.7446 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.2081, allocations: 12 kB / 0.7446 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.2085, allocations: 23.97 kB / 0.7447 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.2086, allocations: 24.25 kB / 0.7447 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009501/0.2096, allocations: 0.5001 MB / 0.7452 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001183/0.2108, allocations: 0.8343 MB / 0.746 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003196/0.2111, allocations: 179.8 kB / 0.7462 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007448/0.2119, allocations: 0.6508 MB / 0.7468 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of Backend: time 2.61e-07/0.2119, allocations: 0 / 0.7468 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.2134, allocations: 0.7054 MB / 0.7475 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of SimCode: time 0.2367/0.4502, allocations: 2.431 MB / 0.7499 GB, free: 79.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02902/0.4792, allocations: 21.48 MB / 0.7708 GB, free: 72.44 MB / 0.5762 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)