Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.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.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8339/0.8339, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.767e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1748, allocations: 31.99 MB / 236.8 MB, free: 5.426 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.TestDynamicDrum): time 1.656/1.831, allocations: 298.1 MB / 0.5224 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.487/2.318, allocations: 189.1 MB / 0.7071 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/2.319, allocations: 11.75 kB / 0.7071 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009509/2.32, allocations: 306.1 kB / 0.7074 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/2.322, allocations: 0.7527 MB / 0.7081 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03244/2.355, allocations: 9.812 MB / 0.7177 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008203/2.363, allocations: 9.77 MB / 0.7272 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004519/2.368, allocations: 3.001 MB / 0.7301 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005195/2.373, allocations: 2.982 MB / 0.7331 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006397/2.379, allocations: 3.726 MB / 0.7367 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001296/2.381, allocations: 309.8 kB / 0.737 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03637/2.417, allocations: 18.64 MB / 0.7552 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00374/2.421, allocations: 1.95 MB / 0.7571 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00669/2.427, allocations: 2.866 MB / 0.7599 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03648/2.464, allocations: 16.04 MB / 0.7756 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/2.464, allocations: 0 / 0.7756 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.374e-06/2.464, allocations: 0 / 0.7756 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001486/2.464, allocations: 0 / 0.7756 GB, free: 4.586 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.0336/2.498, allocations: 8.536 MB / 0.7839 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/2.498, allocations: 8.031 kB / 0.7839 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/2.5, allocations: 0.5147 MB / 0.7844 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005092/2.505, allocations: 1.998 MB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002975/2.508, allocations: 1.823 MB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/2.511, allocations: 373.4 kB / 0.7885 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02977/2.54, allocations: 10.61 MB / 0.7989 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001488/2.541, allocations: 3.984 kB / 0.7989 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/2.542, allocations: 144 kB / 0.799 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/2.542, allocations: 166.8 kB / 0.7992 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03855/2.581, allocations: 14.03 MB / 0.8129 GB, free: 0.6016 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.04648/2.627, allocations: 25.46 MB / 0.8377 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02724/2.655, allocations: 10.43 MB / 0.8479 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02093/2.676, allocations: 8.348 MB / 0.8561 GB, free: 3.258 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5843/3.26, allocations: 188.8 MB / 1.04 GB, free: 389.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.656e-05/3.26, allocations: 103 kB / 1.041 GB, free: 389.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1140): time 9.428e-06/3.26, allocations: 0 / 1.041 GB, free: 389.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=1141): time 0.1645/3.425, allocations: 54.25 MB / 1.094 GB, free: 341.1 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/3.425, allocations: 126.7 kB / 1.094 GB, free: 341 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/3.426, allocations: 0.9381 MB / 1.095 GB, free: 340 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/3.427, allocations: 121.7 kB / 1.095 GB, free: 339.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/3.427, allocations: 0.6927 MB / 1.095 GB, free: 339.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002829/3.43, allocations: 3.77 MB / 1.099 GB, free: 335.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/3.432, allocations: 0.699 MB / 1.1 GB, free: 334.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/3.432, allocations: 305.1 kB / 1.1 GB, free: 334.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01614/3.448, allocations: 7.365 MB / 1.107 GB, free: 327.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0165/3.464, allocations: 8.185 MB / 1.115 GB, free: 318.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03234/3.497, allocations: 15.43 MB / 1.13 GB, free: 303.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/3.497, allocations: 4 kB / 1.13 GB, free: 303.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.0454/3.542, allocations: 20.6 MB / 1.15 GB, free: 282.4 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/3.542, allocations: 16 kB / 1.15 GB, free: 282.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-05/3.542, allocations: 24 kB / 1.15 GB, free: 282.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05664/3.599, allocations: 22.18 MB / 1.172 GB, free: 260.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/3.609, allocations: 1.888 MB / 1.174 GB, free: 258.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03017/3.64, allocations: 16.39 MB / 1.19 GB, free: 241.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009789/3.649, allocations: 1.405 MB / 1.191 GB, free: 240.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/3.651, allocations: 307.6 kB / 1.192 GB, free: 240 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.003936/3.655, allocations: 1.238 MB / 1.193 GB, free: 238.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/3.657, allocations: 402.6 kB / 1.193 GB, free: 238.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07323/3.73, allocations: 26.1 MB / 1.219 GB, free: 212.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06913/3.799, allocations: 23.37 MB / 1.241 GB, free: 188.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.954e-05/3.799, allocations: 11.88 kB / 1.242 GB, free: 188.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001768/3.799, allocations: 43.83 kB / 1.242 GB, free: 188.6 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.09995/3.899, allocations: 38.64 MB / 1.279 GB, free: 149.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001795/3.899, allocations: 28.8 kB / 1.279 GB, free: 149.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01935/3.919, allocations: 3.835 MB / 1.283 GB, free: 145.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01572/3.935, allocations: 5.131 MB / 1.288 GB, free: 140.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002468/3.937, allocations: 307.6 kB / 1.288 GB, free: 140.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06403/4.001, allocations: 36.84 MB / 1.324 GB, free: 101.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/4.001, allocations: 9.25 kB / 1.324 GB, free: 101.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0924/4.094, allocations: 33.76 MB / 1.357 GB, free: 67.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004594/4.098, allocations: 1.622 MB / 1.359 GB, free: 65.92 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/4.1, allocations: 175.8 kB / 1.359 GB, free: 65.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/4.111, allocations: 1.447 MB / 1.36 GB, free: 64.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002661/4.114, allocations: 0.6343 MB / 1.361 GB, free: 63.67 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001725/4.116, allocations: 323.6 kB / 1.361 GB, free: 63.35 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008987/4.116, allocations: 0.67 MB / 1.362 GB, free: 62.67 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/4.117, allocations: 0 / 1.362 GB, free: 62.67 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01067/4.127, allocations: 3.362 MB / 1.365 GB, free: 59.46 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.008988/4.136, allocations: 2.48 MB / 1.368 GB, free: 57.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0515/4.188, allocations: 22.23 MB / 1.389 GB, free: 34.47 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/4.188, allocations: 0 / 1.389 GB, free: 34.47 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02778/4.216, allocations: 13.61 MB / 1.403 GB, free: 20.35 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01337/4.229, allocations: 2.109 MB / 1.405 GB, free: 18.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2612/4.49, allocations: 30.41 MB / 1.435 GB, free: 406.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004452/4.495, allocations: 3.681 MB / 1.438 GB, free: 405.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007703/4.502, allocations: 1.794 MB / 1.44 GB, free: 405.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/4.505, allocations: 0.595 MB / 1.44 GB, free: 405.6 MB / 0.795 GB Notification: Performance of SimCode: time 1.152e-06/4.505, allocations: 0 / 1.44 GB, free: 405.6 MB / 0.795 GB Notification: Performance of Templates: time 0.284/4.789, allocations: 231 MB / 1.666 GB, free: 211.9 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe 2>&1) Environment - environmentSimulation: