Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8248/0.8248, allocations: 150.8 MB / 166.1 MB, free: 15.12 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.875e-05, allocations: 4 kB / 204.8 MB, free: 9.684 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1752, allocations: 31.98 MB / 236.8 MB, free: 5.367 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3): time 1.628/1.803, allocations: 298.1 MB / 0.5224 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5009/2.304, allocations: 189.1 MB / 0.7071 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/2.305, allocations: 13 kB / 0.7071 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/2.306, allocations: 306.1 kB / 0.7074 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/2.308, allocations: 0.755 MB / 0.7081 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02843/2.337, allocations: 9.805 MB / 0.7177 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008288/2.345, allocations: 9.769 MB / 0.7272 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004658/2.35, allocations: 3.007 MB / 0.7301 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/2.355, allocations: 2.981 MB / 0.7331 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006828/2.362, allocations: 3.728 MB / 0.7367 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/2.364, allocations: 309.6 kB / 0.737 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03425/2.398, allocations: 18.63 MB / 0.7552 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003673/2.402, allocations: 1.949 MB / 0.7571 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006051/2.408, allocations: 2.872 MB / 0.7599 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03018/2.438, allocations: 16.03 MB / 0.7756 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/2.438, allocations: 0 / 0.7756 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/2.438, allocations: 0 / 0.7756 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001279/2.438, allocations: 0 / 0.7756 GB, free: 4.578 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1459 * Number of variables: 1459 Notification: Performance of Generate backend data structure: time 0.0319/2.47, allocations: 8.542 MB / 0.7839 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/2.47, allocations: 8.031 kB / 0.7839 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/2.472, allocations: 0.5136 MB / 0.7844 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/2.475, allocations: 1.995 MB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00206/2.478, allocations: 1.827 MB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/2.479, allocations: 372.8 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/2.507, allocations: 10.61 MB / 0.7989 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/2.507, allocations: 6.906 kB / 0.7989 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/2.508, allocations: 140 kB / 0.799 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/2.508, allocations: 163.9 kB / 0.7992 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03642/2.545, allocations: 14.03 MB / 0.8129 GB, free: 0.6289 MB / 0.6231 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.04428/2.589, allocations: 25.47 MB / 0.8377 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02636/2.616, allocations: 10.43 MB / 0.8479 GB, free: 11.63 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02003/2.636, allocations: 8.337 MB / 0.8561 GB, free: 3.273 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5825/3.218, allocations: 188.8 MB / 1.04 GB, free: 390.4 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/3.218, allocations: 96.08 kB / 1.041 GB, free: 390.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1140): time 1.599e-05/3.218, allocations: 0.75 kB / 1.041 GB, free: 390.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=1141): time 0.1698/3.388, allocations: 54.26 MB / 1.094 GB, free: 342.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/3.388, allocations: 111.9 kB / 1.094 GB, free: 342.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/3.389, allocations: 0.9498 MB / 1.095 GB, free: 341.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001742/3.391, allocations: 121.7 kB / 1.095 GB, free: 341.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/3.391, allocations: 0.6863 MB / 1.095 GB, free: 340.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00374/3.395, allocations: 3.776 MB / 1.099 GB, free: 336.6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/3.397, allocations: 0.699 MB / 1.1 GB, free: 335.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/3.397, allocations: 301.1 kB / 1.1 GB, free: 335.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01706/3.414, allocations: 7.369 MB / 1.107 GB, free: 328.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01723/3.432, allocations: 8.181 MB / 1.115 GB, free: 319.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03406/3.466, allocations: 15.44 MB / 1.13 GB, free: 304.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/3.466, allocations: 0 / 1.13 GB, free: 304.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04896/3.515, allocations: 20.6 MB / 1.15 GB, free: 283.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/3.515, allocations: 12.16 kB / 1.15 GB, free: 283.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.375e-05/3.515, allocations: 31.98 kB / 1.15 GB, free: 283.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05651/3.571, allocations: 22.18 MB / 1.172 GB, free: 261.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/3.582, allocations: 1.884 MB / 1.174 GB, free: 259.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03139/3.613, allocations: 16.39 MB / 1.19 GB, free: 242.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/3.623, allocations: 1.412 MB / 1.191 GB, free: 241.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/3.626, allocations: 303.6 kB / 1.192 GB, free: 241.2 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 20 (sinkQ.C.a,sourceP.C.b,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,TubeEcranBoucleEvaporatoire.C2.b,TubeEcranBoucleEvaporatoire.C1.a,SteamValve.C2.b,SteamValve.C1.a,FeedwaterValve.C2.b,FeedwaterValve.C1.a,Drum.Cs.b,Drum.Ce3.a,Drum.Ce2.a,Drum.Cv.b,Drum.Cd.b,Drum.Cm.a,Drum.Ce1.a,Drum.Cs.a,Drum.Ce3.b,Drum.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,16), (1,1), (25,209)} Notification: Performance of prepare postOptimizeDAE: time 0.004848/3.63, allocations: 1.239 MB / 1.193 GB, free: 239.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/3.632, allocations: 403.7 kB / 1.193 GB, free: 239.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07373/3.706, allocations: 26.1 MB / 1.219 GB, free: 213.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06788/3.774, allocations: 23.37 MB / 1.241 GB, free: 189.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.29e-05/3.774, allocations: 3.938 kB / 1.241 GB, free: 189.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002355/3.774, allocations: 47.83 kB / 1.242 GB, free: 189.8 MB / 0.795 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 postOpt removeSimpleEquations (simulation): time 0.1017/3.876, allocations: 38.65 MB / 1.279 GB, free: 150.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001806/3.876, allocations: 24 kB / 1.279 GB, free: 150.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01948/3.896, allocations: 3.839 MB / 1.283 GB, free: 146.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01666/3.912, allocations: 5.13 MB / 1.288 GB, free: 141.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002323/3.915, allocations: 307.6 kB / 1.288 GB, free: 141.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06307/3.978, allocations: 36.83 MB / 1.324 GB, free: 102.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/3.978, allocations: 8.062 kB / 1.324 GB, free: 102.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09148/4.069, allocations: 33.76 MB / 1.357 GB, free: 68.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00459/4.074, allocations: 1.622 MB / 1.359 GB, free: 67.11 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/4.076, allocations: 176 kB / 1.359 GB, free: 66.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01021/4.087, allocations: 1.451 MB / 1.36 GB, free: 65.49 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002943/4.09, allocations: 0.6343 MB / 1.361 GB, free: 64.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001864/4.091, allocations: 323.7 kB / 1.361 GB, free: 64.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008598/4.092, allocations: 0.6661 MB / 1.362 GB, free: 63.86 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.31e-07/4.092, allocations: 0 / 1.362 GB, free: 63.86 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01086/4.103, allocations: 3.367 MB / 1.365 GB, free: 60.65 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 46 (Drum.P,Drum.hl,Drum.hv,Drum.Tp,Drum.Vv,TubeEcranBoucleEvaporatoire.P[2],TubeEcranBoucleEvaporatoire.P[3],TubeEcranBoucleEvaporatoire.P[4],TubeEcranBoucleEvaporatoire.P[5],TubeEcranBoucleEvaporatoire.P[6],TubeEcranBoucleEvaporatoire.P[7],TubeEcranBoucleEvaporatoire.P[8],TubeEcranBoucleEvaporatoire.P[9],TubeEcranBoucleEvaporatoire.P[10],TubeEcranBoucleEvaporatoire.P[11],TubeEcranBoucleEvaporatoire.Q[1],TubeEcranBoucleEvaporatoire.Q[2],TubeEcranBoucleEvaporatoire.Q[3],TubeEcranBoucleEvaporatoire.Q[4],TubeEcranBoucleEvaporatoire.Q[5],TubeEcranBoucleEvaporatoire.Q[6],TubeEcranBoucleEvaporatoire.Q[7],TubeEcranBoucleEvaporatoire.Q[8],TubeEcranBoucleEvaporatoire.Q[9],TubeEcranBoucleEvaporatoire.Q[10],TubeEcranBoucleEvaporatoire.Q[11],TubeEcranBoucleEvaporatoire.h[2],TubeEcranBoucleEvaporatoire.h[3],TubeEcranBoucleEvaporatoire.h[4],TubeEcranBoucleEvaporatoire.h[5],TubeEcranBoucleEvaporatoire.h[6],TubeEcranBoucleEvaporatoire.h[7],TubeEcranBoucleEvaporatoire.h[8],TubeEcranBoucleEvaporatoire.h[9],TubeEcranBoucleEvaporatoire.h[10],TubeEcranBoucleEvaporatoire.h[11],heatExchangerWall.Tp[1],heatExchangerWall.Tp[2],heatExchangerWall.Tp[3],heatExchangerWall.Tp[4],heatExchangerWall.Tp[5],heatExchangerWall.Tp[6],heatExchangerWall.Tp[7],heatExchangerWall.Tp[8],heatExchangerWall.Tp[9],heatExchangerWall.Tp[10]) * 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 (793): * Single equations (assignments): 718 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 10 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,1,62.5%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 15 systems {(1,6), (1,4), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,3), (1,1), (1,4), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00874/4.112, allocations: 2.473 MB / 1.368 GB, free: 58.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.05027/4.162, allocations: 22.23 MB / 1.389 GB, free: 35.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/4.162, allocations: 0 / 1.389 GB, free: 35.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0281/4.19, allocations: 13.61 MB / 1.403 GB, free: 21.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01732/4.208, allocations: 2.12 MB / 1.405 GB, free: 19.46 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2663/4.474, allocations: 30.4 MB / 1.435 GB, free: 407.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003187/4.477, allocations: 3.683 MB / 1.438 GB, free: 406.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007577/4.485, allocations: 1.799 MB / 1.44 GB, free: 406.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003053/4.488, allocations: 0.5957 MB / 1.44 GB, free: 406.6 MB / 0.795 GB Notification: Performance of SimCode: time 1.402e-06/4.488, allocations: 0 / 1.44 GB, free: 406.6 MB / 0.795 GB Notification: Performance of Templates: time 0.2733/4.761, allocations: 231 MB / 1.666 GB, free: 213.9 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe 2>&1) Environment - environmentSimulation: