Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.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.TestDynamicDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.824/0.824, allocations: 150.8 MB / 166.1 MB, free: 15.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.749e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.158, allocations: 31.97 MB / 236.8 MB, free: 5.434 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.TestDynamicDrum2): time 1.63/1.788, allocations: 298.3 MB / 0.5225 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5188/2.307, allocations: 189.2 MB / 0.7073 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/2.308, allocations: 11.53 kB / 0.7073 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/2.309, allocations: 362.2 kB / 0.7076 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/2.312, allocations: 0.818 MB / 0.7084 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02718/2.339, allocations: 9.822 MB / 0.718 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008054/2.347, allocations: 9.853 MB / 0.7276 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003891/2.351, allocations: 3.024 MB / 0.7306 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/2.355, allocations: 3.015 MB / 0.7335 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005413/2.361, allocations: 3.787 MB / 0.7372 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009435/2.362, allocations: 310.3 kB / 0.7375 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03337/2.395, allocations: 18.68 MB / 0.7558 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003264/2.398, allocations: 1.992 MB / 0.7577 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005045/2.403, allocations: 2.914 MB / 0.7606 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0302/2.434, allocations: 16.19 MB / 0.7764 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/2.434, allocations: 0 / 0.7764 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/2.434, allocations: 0 / 0.7764 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001541/2.434, allocations: 4 kB / 0.7764 GB, free: 4.004 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: 1471 * Number of variables: 1471 Notification: Performance of Generate backend data structure: time 0.03313/2.467, allocations: 8.656 MB / 0.7848 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/2.467, allocations: 8.031 kB / 0.7848 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/2.469, allocations: 0.525 MB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004097/2.473, allocations: 2.071 MB / 0.7874 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002/2.475, allocations: 1.823 MB / 0.7892 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/2.476, allocations: 377.4 kB / 0.7895 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/2.498, allocations: 10.67 MB / 0.7999 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/2.498, allocations: 6.906 kB / 0.7999 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005734/2.499, allocations: 140 kB / 0.8001 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/2.499, allocations: 167.9 kB / 0.8002 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03271/2.532, allocations: 14.09 MB / 0.814 GB, free: 15.7 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.03566/2.568, allocations: 26.16 MB / 0.8395 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02531/2.593, allocations: 10.48 MB / 0.8498 GB, free: 9.855 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01853/2.611, allocations: 8.381 MB / 0.858 GB, free: 1.457 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5851/3.197, allocations: 188.8 MB / 1.042 GB, free: 388.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.501e-05/3.197, allocations: 95.34 kB / 1.042 GB, free: 388.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1151): time 1.104e-05/3.197, allocations: 4 kB / 1.042 GB, free: 388.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=1152): time 0.1662/3.363, allocations: 54.57 MB / 1.096 GB, free: 338.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/3.363, allocations: 111.9 kB / 1.096 GB, free: 338.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/3.364, allocations: 1.089 MB / 1.097 GB, free: 337.6 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001663/3.366, allocations: 121.7 kB / 1.097 GB, free: 337.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/3.366, allocations: 0.7437 MB / 1.098 GB, free: 336.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002771/3.369, allocations: 3.799 MB / 1.101 GB, free: 332.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009684/3.37, allocations: 0.6951 MB / 1.102 GB, free: 332.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/3.37, allocations: 305.1 kB / 1.102 GB, free: 331.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01603/3.386, allocations: 7.384 MB / 1.11 GB, free: 324.6 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01778/3.404, allocations: 8.192 MB / 1.118 GB, free: 316.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03313/3.437, allocations: 15.49 MB / 1.133 GB, free: 300.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/3.437, allocations: 4 kB / 1.133 GB, free: 300.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.04978/3.487, allocations: 20.76 MB / 1.153 GB, free: 279.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/3.487, allocations: 8 kB / 1.153 GB, free: 279.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-05/3.487, allocations: 27.98 kB / 1.153 GB, free: 279.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05971/3.547, allocations: 23.93 MB / 1.176 GB, free: 255.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/3.557, allocations: 1.88 MB / 1.178 GB, free: 253.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02983/3.587, allocations: 16.05 MB / 1.194 GB, free: 237.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/3.597, allocations: 1.421 MB / 1.195 GB, free: 236.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001828/3.599, allocations: 303.1 kB / 1.196 GB, free: 235.9 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 (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 (418): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,16), (26,214)} Notification: Performance of prepare postOptimizeDAE: time 0.003336/3.603, allocations: 1.257 MB / 1.197 GB, free: 234.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009949/3.604, allocations: 414.5 kB / 1.197 GB, free: 234.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0705/3.674, allocations: 26.28 MB / 1.223 GB, free: 207.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06999/3.744, allocations: 23.52 MB / 1.246 GB, free: 184.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-05/3.744, allocations: 4 kB / 1.246 GB, free: 184.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001981/3.744, allocations: 43.83 kB / 1.246 GB, free: 184.1 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.1056/3.85, allocations: 39.16 MB / 1.284 GB, free: 144.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001597/3.85, allocations: 23.98 kB / 1.284 GB, free: 144.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0188/3.869, allocations: 3.847 MB / 1.288 GB, free: 140.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01618/3.885, allocations: 5.13 MB / 1.293 GB, free: 135.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002658/3.888, allocations: 307.6 kB / 1.293 GB, free: 135.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06263/3.951, allocations: 36.86 MB / 1.329 GB, free: 96.52 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.951, allocations: 11.94 kB / 1.329 GB, free: 96.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09153/4.042, allocations: 33.99 MB / 1.362 GB, free: 62.35 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004639/4.047, allocations: 1.649 MB / 1.364 GB, free: 60.67 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/4.049, allocations: 180 kB / 1.364 GB, free: 60.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009731/4.059, allocations: 1.447 MB / 1.366 GB, free: 59.05 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002586/4.061, allocations: 0.6344 MB / 1.366 GB, free: 58.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001651/4.063, allocations: 333.7 kB / 1.367 GB, free: 58.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001014/4.064, allocations: 0.7668 MB / 1.367 GB, free: 57.31 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/4.064, allocations: 0 / 1.367 GB, free: 57.31 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01082/4.075, allocations: 3.396 MB / 1.371 GB, free: 54.07 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 (805): * Single equations (assignments): 729 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * 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,3), (1,6), (1,4), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,1), (1,4), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009854/4.085, allocations: 2.49 MB / 1.373 GB, free: 52.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.05117/4.136, allocations: 22.41 MB / 1.395 GB, free: 28.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/4.136, allocations: 0 / 1.395 GB, free: 28.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02941/4.166, allocations: 13.7 MB / 1.408 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01514/4.181, allocations: 2.171 MB / 1.41 GB, free: 12.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.28/4.461, allocations: 30.77 MB / 1.441 GB, free: 403.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/4.464, allocations: 3.764 MB / 1.444 GB, free: 402.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.008491/4.473, allocations: 1.83 MB / 1.446 GB, free: 402.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00371/4.477, allocations: 0.6065 MB / 1.447 GB, free: 402.5 MB / 0.795 GB Notification: Performance of SimCode: time 1.152e-06/4.477, allocations: 0 / 1.447 GB, free: 402.5 MB / 0.795 GB Notification: Performance of Templates: time 0.2737/4.75, allocations: 233 MB / 1.674 GB, free: 203.6 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.pipe 2>&1) Environment - environmentSimulation: