Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState.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/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.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(ThermalSeparation.Examples.ProPen_EQ_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState") translateModel(ThermalSeparation.Examples.ProPen_EQ_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 115.9 kB / 17.09 MB, free: 5.945 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.001404/0.001404, allocations: 194.9 kB / 18.03 MB, free: 5.035 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3482/0.3482, allocations: 64.93 MB / 356.8 MB, free: 14.7 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.88 kB / 495.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2981, allocations: 63.55 MB / 0.5464 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.ProPen_EQ_SteadyState): time 0.02129/0.3194, allocations: 22.91 MB / 0.5687 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02249/0.3419, allocations: 16.68 MB / 0.585 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0038/0.3458, allocations: 55.75 kB / 0.5851 GB, free: 9.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00753/0.3533, allocations: 2.817 MB / 0.5878 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008028/0.3614, allocations: 3.218 MB / 0.591 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.3654, allocations: 1.482 MB / 0.5924 GB, free: 2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0119/0.3773, allocations: 8.548 MB / 0.6008 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004466/0.3818, allocations: 2.618 MB / 0.6033 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.3875, allocations: 3.107 MB / 0.6064 GB, free: 3.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007187/0.3948, allocations: 3.787 MB / 0.6101 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.3968, allocations: 0.5117 MB / 0.6106 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3993, allocations: 472 kB / 0.611 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003513/0.4029, allocations: 2.338 MB / 0.6133 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006005/0.4089, allocations: 2.932 MB / 0.6162 GB, free: 9.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4196, allocations: 7.94 MB / 0.6239 GB, free: 1.621 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4197, allocations: 0 / 0.6239 GB, free: 1.621 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4197, allocations: 0 / 0.6239 GB, free: 1.621 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003078/0.42, allocations: 0 / 0.6239 GB, free: 1.621 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1366 * Number of variables: 1366 Notification: Performance of Generate backend data structure: time 0.01428/0.4343, allocations: 5.964 MB / 0.6297 GB, free: 11.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4343, allocations: 15.95 kB / 0.6298 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.4357, allocations: 0.582 MB / 0.6303 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.4402, allocations: 2.462 MB / 0.6327 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.4406, allocations: 416.5 kB / 0.6331 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006513/0.4412, allocations: 455.8 kB / 0.6336 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.4532, allocations: 7.928 MB / 0.6413 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-05/0.4533, allocations: 19.81 kB / 0.6413 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/0.4537, allocations: 199.8 kB / 0.6415 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/0.455, allocations: 0.942 MB / 0.6424 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.4652, allocations: 6.176 MB / 0.6485 GB, free: 7.992 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.03571/0.5009, allocations: 26.31 MB / 0.6742 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004454/0.5054, allocations: 2.473 MB / 0.6766 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.5072, allocations: 1.088 MB / 0.6776 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.5073, allocations: 29 kB / 0.6777 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.5074, allocations: 51.56 kB / 0.6777 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001418/0.5088, allocations: 401.3 kB / 0.6781 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=148): time 8.356e-06/0.5088, allocations: 0 / 0.6781 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=148): time 0.01884/0.5276, allocations: 5.718 MB / 0.6837 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.5278, allocations: 179.2 kB / 0.6838 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006386/0.5341, allocations: 3.885 MB / 0.6876 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.5343, allocations: 53.7 kB / 0.6877 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.5363, allocations: 2.645 MB / 0.6903 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/0.5368, allocations: 0.5735 MB / 0.6908 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.5381, allocations: 0.7265 MB / 0.6915 GB, free: 10.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.5382, allocations: 305.1 kB / 0.6918 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.5409, allocations: 1.576 MB / 0.6934 GB, free: 8.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003657/0.5445, allocations: 3.089 MB / 0.6964 GB, free: 4.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006074/0.5506, allocations: 4.711 MB / 0.701 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.624e-05/0.5507, allocations: 16 kB / 0.701 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.01393/0.5646, allocations: 6.135 MB / 0.707 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/0.5647, allocations: 103.4 kB / 0.7071 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-05/0.5648, allocations: 52 kB / 0.7071 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005984/0.5708, allocations: 1.278 MB / 0.7084 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/0.5738, allocations: 0.7877 MB / 0.7092 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.247/0.8207, allocations: 9.86 MB / 0.7188 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/0.8248, allocations: 288.5 kB / 0.7191 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004639/0.8253, allocations: 185.6 kB / 0.7192 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004423/0.8298, allocations: 2.966 MB / 0.7221 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00239/0.8322, allocations: 3.05 MB / 0.7251 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004266/0.8364, allocations: 4.666 MB / 0.7297 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.26e-05/0.8365, allocations: 14.44 kB / 0.7297 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=449) (initialization_lambda0): time 0.01178/0.8483, allocations: 6.067 MB / 0.7356 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/0.8484, allocations: 111.8 kB / 0.7357 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-05/0.8484, allocations: 49.41 kB / 0.7358 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005504/0.8539, allocations: 1.282 MB / 0.737 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.8569, allocations: 0.7751 MB / 0.7378 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/0.8634, allocations: 9.875 MB / 0.7474 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003667/0.8671, allocations: 281.1 kB / 0.7477 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/0.8674, allocations: 182.6 kB / 0.7479 GB, free: 129.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 36 (column1.counterLV,column1.test2V[1],column1.testV[1],column1.counterL,column1.aux2[1],column1.aux1[1],column1.pressureLoss.homotopyMethod.whichHomotopy[6],column1.pressureLoss.homotopyMethod.whichHomotopy[5],column1.pressureLoss.homotopyMethod.whichHomotopy[4],column1.pressureLoss.homotopyMethod.whichHomotopy[3],column1.pressureLoss.homotopyMethod.whichHomotopy[2],column1.pressureLoss.homotopyMethod.whichHomotopy[1],column1.pressureLoss.homotopyMethod.useHomotopy,column1.balanceEquations.homotopyMethod.whichHomotopy[6],column1.balanceEquations.homotopyMethod.whichHomotopy[5],column1.balanceEquations.homotopyMethod.whichHomotopy[4],column1.balanceEquations.homotopyMethod.whichHomotopy[3],column1.balanceEquations.homotopyMethod.whichHomotopy[2],column1.balanceEquations.homotopyMethod.whichHomotopy[1],column1.homotopyMethod.whichHomotopy[6],column1.homotopyMethod.whichHomotopy[5],column1.homotopyMethod.whichHomotopy[4],column1.homotopyMethod.whichHomotopy[3],column1.homotopyMethod.whichHomotopy[2],column1.homotopyMethod.whichHomotopy[1],column1.useHomotopy,column1.bool_eps[1],column1.balanceEquations.homotopyMethod.useHomotopy,column1.mediumLiquid[1].state.phase,column1.sourceLiquid[1].medium.state.phase,column1.mediumLiquidIn.state.phase,sourceLiquid.medium.state.phase,column1.startUp[1],column1.balanceEquations.stat,column1.before_transition[1],column1.PID[1].I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,2), (6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007714/0.8681, allocations: 455.5 kB / 0.7483 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004203/0.8686, allocations: 338.6 kB / 0.7486 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007961/0.8765, allocations: 3.385 MB / 0.7519 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.8766, allocations: 7.969 kB / 0.7519 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8766, allocations: 8 kB / 0.7519 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.8776, allocations: 0.6373 MB / 0.7526 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/0.878, allocations: 32 kB / 0.7526 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.8797, allocations: 123.8 kB / 0.7527 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/0.88, allocations: 137.1 kB / 0.7528 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005801/0.8858, allocations: 3.199 MB / 0.756 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004254/0.8901, allocations: 3.922 MB / 0.7598 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001175/0.8913, allocations: 1.01 MB / 0.7608 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003069/0.8944, allocations: 2.587 MB / 0.7633 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of Backend: time 5.21e-07/0.8944, allocations: 0 / 0.7633 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01021/0.9046, allocations: 6.462 MB / 0.7696 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01241/0.917, allocations: 9.642 MB / 0.779 GB, free: 98.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.09193/1.009, allocations: 71.21 MB / 0.8486 GB, free: 27.31 MB / 0.5606 GB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState.makefile (rm -f ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState.sim & ./ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.ProPen_EQ_SteadyState.pipe 2>&1)