Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.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.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.376e-05/1.379e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 31.98 MB / 236.8 MB, free: 5.438 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.Book.SimpleExamples.Volume.TestDynamicDrum): time 1.441/1.58, allocations: 298.6 MB / 0.5229 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4297/2.01, allocations: 189.4 MB / 0.7078 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/2.011, allocations: 16.53 kB / 0.7078 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008521/2.012, allocations: 386.6 kB / 0.7082 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/2.013, allocations: 0.8313 MB / 0.709 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02294/2.036, allocations: 9.906 MB / 0.7187 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007248/2.043, allocations: 10.06 MB / 0.7285 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003621/2.047, allocations: 3.189 MB / 0.7316 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/2.051, allocations: 3.06 MB / 0.7346 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/2.057, allocations: 3.853 MB / 0.7384 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001172/2.058, allocations: 316.1 kB / 0.7387 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02932/2.087, allocations: 18.7 MB / 0.7569 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003104/2.09, allocations: 2.015 MB / 0.7589 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004853/2.095, allocations: 2.989 MB / 0.7618 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02637/2.122, allocations: 16.47 MB / 0.7779 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/2.122, allocations: 0 / 0.7779 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.966e-06/2.122, allocations: 0 / 0.7779 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000133/2.122, allocations: 3.938 kB / 0.7779 GB, free: 3.176 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.03049/2.152, allocations: 8.801 MB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/2.152, allocations: 12.03 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/2.155, allocations: 0.5443 MB / 0.787 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003814/2.158, allocations: 2.156 MB / 0.7891 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00195/2.16, allocations: 1.838 MB / 0.7909 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/2.162, allocations: 392.8 kB / 0.7913 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/2.186, allocations: 10.85 MB / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.27e-05/2.186, allocations: 4 kB / 0.8019 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007519/2.187, allocations: 148 kB / 0.802 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/2.187, allocations: 175.9 kB / 0.8022 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/2.222, allocations: 14.25 MB / 0.8161 GB, free: 13.94 MB / 0.6387 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.05156/2.273, allocations: 32.24 MB / 0.8476 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0237/2.297, allocations: 10.61 MB / 0.858 GB, free: 1.945 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01801/2.315, allocations: 8.454 MB / 0.8662 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5075/2.822, allocations: 188.8 MB / 1.051 GB, free: 380 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/2.823, allocations: 103.1 kB / 1.051 GB, free: 380 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1165): time 1.272e-05/2.823, allocations: 0 / 1.051 GB, free: 380 MB / 0.795 GB Notification: Performance of matching and sorting (n=1166): time 0.1525/2.975, allocations: 54.82 MB / 1.104 GB, free: 330.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/2.975, allocations: 137.8 kB / 1.104 GB, free: 330.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/2.976, allocations: 1.177 MB / 1.106 GB, free: 329.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/2.978, allocations: 125.7 kB / 1.106 GB, free: 329 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/2.978, allocations: 0.8114 MB / 1.106 GB, free: 328.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003033/2.981, allocations: 3.884 MB / 1.11 GB, free: 324.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001619/2.983, allocations: 0.7072 MB / 1.111 GB, free: 323.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/2.983, allocations: 301.1 kB / 1.111 GB, free: 323.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01578/2.999, allocations: 7.429 MB / 1.118 GB, free: 315.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01619/3.015, allocations: 8.28 MB / 1.127 GB, free: 307.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03166/3.047, allocations: 15.67 MB / 1.142 GB, free: 291.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/3.047, allocations: 0 / 1.142 GB, free: 291.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.04966/3.096, allocations: 21.48 MB / 1.163 GB, free: 270 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/3.096, allocations: 11.94 kB / 1.163 GB, free: 269.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-05/3.096, allocations: 35.98 kB / 1.163 GB, free: 269.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05553/3.152, allocations: 23.96 MB / 1.186 GB, free: 246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009662/3.162, allocations: 1.916 MB / 1.188 GB, free: 244.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/3.189, allocations: 17.57 MB / 1.205 GB, free: 226.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009176/3.198, allocations: 1.428 MB / 1.207 GB, free: 224.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/3.2, allocations: 303.6 kB / 1.207 GB, free: 224.4 MB / 0.795 GB Warning: Assuming fixed start value for the following 1 variables: regulation_Niveau.pIsat.Integrateur1.x0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.reset.signal,sinkP.C.a,sourceQ.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 (434): * Single equations (assignments): 413 * 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,16), (1,1), (26,214), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.003882/3.204, allocations: 1.296 MB / 1.208 GB, free: 223.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/3.205, allocations: 426.3 kB / 1.209 GB, free: 222.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06378/3.269, allocations: 26.45 MB / 1.234 GB, free: 196.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06113/3.33, allocations: 23.65 MB / 1.258 GB, free: 172.4 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.39e-05/3.33, allocations: 7.938 kB / 1.258 GB, free: 172.4 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001456/3.33, allocations: 49.16 kB / 1.258 GB, free: 172.4 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.08822/3.418, allocations: 40 MB / 1.297 GB, free: 131.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001341/3.419, allocations: 34.11 kB / 1.297 GB, free: 131.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01764/3.436, allocations: 3.866 MB / 1.301 GB, free: 127.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/3.451, allocations: 5.124 MB / 1.306 GB, free: 122.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002401/3.453, allocations: 311.6 kB / 1.306 GB, free: 122.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05858/3.512, allocations: 36.84 MB / 1.342 GB, free: 83.92 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/3.512, allocations: 4 kB / 1.342 GB, free: 83.92 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08125/3.593, allocations: 34.21 MB / 1.375 GB, free: 49.53 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003744/3.597, allocations: 1.684 MB / 1.377 GB, free: 47.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/3.599, allocations: 184 kB / 1.377 GB, free: 47.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008665/3.607, allocations: 1.459 MB / 1.378 GB, free: 46.18 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001799/3.609, allocations: 0.6509 MB / 1.379 GB, free: 45.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009588/3.61, allocations: 339.6 kB / 1.379 GB, free: 45.19 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008867/3.611, allocations: 0.8206 MB / 1.38 GB, free: 44.37 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/3.611, allocations: 3.562 kB / 1.38 GB, free: 44.37 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008157/3.619, allocations: 3.417 MB / 1.384 GB, free: 41.11 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 48 (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],regulation_Niveau.pIsat.Integrateur1.x,regulation_Niveau.pT1_1.x) * Number of discrete variables: 1 (regulation_Niveau.pIsat.Integrateur1.x0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (819): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 1 * 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,1), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,3), (1,4), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007074/3.626, allocations: 2.502 MB / 1.386 GB, free: 39.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.04488/3.671, allocations: 22.67 MB / 1.408 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/3.671, allocations: 1.375 kB / 1.408 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02422/3.695, allocations: 13.79 MB / 1.422 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1816/3.877, allocations: 2.167 MB / 1.424 GB, free: 411.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0643/3.941, allocations: 31.21 MB / 1.454 GB, free: 404 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/3.944, allocations: 3.828 MB / 1.458 GB, free: 403.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006666/3.951, allocations: 1.843 MB / 1.46 GB, free: 402.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/3.953, allocations: 0.605 MB / 1.46 GB, free: 402.9 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/3.953, allocations: 0 / 1.46 GB, free: 402.9 MB / 0.795 GB Notification: Performance of Templates: time 0.2454/4.199, allocations: 234.6 MB / 1.689 GB, free: 190.2 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.pipe 2>&1) Environment - environmentSimulation: