Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC.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_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8345/0.8345, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.556e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1578, allocations: 31.98 MB / 236.8 MB, free: 5.215 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_CC): time 1.614/1.771, allocations: 298.7 MB / 0.523 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.493/2.265, allocations: 189.4 MB / 0.7079 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009587/2.266, allocations: 20.58 kB / 0.7079 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008614/2.266, allocations: 384.9 kB / 0.7083 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/2.268, allocations: 0.8297 MB / 0.7091 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0264/2.294, allocations: 9.911 MB / 0.7188 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008456/2.303, allocations: 10.06 MB / 0.7286 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004271/2.307, allocations: 3.185 MB / 0.7317 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/2.311, allocations: 3.066 MB / 0.7347 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005609/2.317, allocations: 3.847 MB / 0.7384 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009475/2.318, allocations: 316.1 kB / 0.7388 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03264/2.351, allocations: 18.69 MB / 0.757 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003217/2.354, allocations: 2.017 MB / 0.759 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005431/2.359, allocations: 2.99 MB / 0.7619 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03025/2.39, allocations: 16.46 MB / 0.778 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/2.39, allocations: 2.906 kB / 0.778 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.506e-06/2.39, allocations: 4 kB / 0.778 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002515/2.39, allocations: 3.938 kB / 0.778 GB, free: 3.164 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.03385/2.424, allocations: 8.796 MB / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/2.424, allocations: 16.02 kB / 0.7866 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/2.426, allocations: 0.5443 MB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004629/2.43, allocations: 2.154 MB / 0.7892 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002328/2.433, allocations: 1.844 MB / 0.791 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/2.434, allocations: 388.6 kB / 0.7914 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02463/2.459, allocations: 10.85 MB / 0.802 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.929e-05/2.459, allocations: 2.906 kB / 0.802 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007116/2.46, allocations: 152 kB / 0.8021 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/2.46, allocations: 171.9 kB / 0.8023 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03557/2.496, allocations: 14.25 MB / 0.8162 GB, free: 13.96 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.05442/2.55, allocations: 32.24 MB / 0.8477 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02635/2.576, allocations: 10.61 MB / 0.8581 GB, free: 1.969 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02064/2.597, allocations: 8.454 MB / 0.8663 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5745/3.172, allocations: 188.8 MB / 1.051 GB, free: 380 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/3.172, allocations: 93.58 kB / 1.051 GB, free: 379.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1165): time 8.436e-06/3.172, allocations: 0 / 1.051 GB, free: 379.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=1166): time 0.1635/3.335, allocations: 54.82 MB / 1.104 GB, free: 330.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/3.336, allocations: 141.8 kB / 1.104 GB, free: 330.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/3.337, allocations: 1.181 MB / 1.106 GB, free: 329.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001466/3.338, allocations: 125.7 kB / 1.106 GB, free: 329.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/3.339, allocations: 0.8116 MB / 1.107 GB, free: 328.3 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00321/3.342, allocations: 3.875 MB / 1.11 GB, free: 324.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/3.343, allocations: 0.7072 MB / 1.111 GB, free: 323.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.106e-05/3.343, allocations: 305.1 kB / 1.111 GB, free: 323.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0162/3.36, allocations: 7.437 MB / 1.119 GB, free: 316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0169/3.377, allocations: 8.278 MB / 1.127 GB, free: 307.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03325/3.41, allocations: 15.68 MB / 1.142 GB, free: 291.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/3.41, allocations: 4 kB / 1.142 GB, free: 291.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.05172/3.462, allocations: 21.47 MB / 1.163 GB, free: 270.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/3.462, allocations: 11.94 kB / 1.163 GB, free: 270.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.917e-05/3.462, allocations: 35.84 kB / 1.163 GB, free: 270 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05861/3.52, allocations: 23.96 MB / 1.186 GB, free: 246.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/3.531, allocations: 1.914 MB / 1.188 GB, free: 244.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02917/3.56, allocations: 17.57 MB / 1.205 GB, free: 226.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009695/3.57, allocations: 1.424 MB / 1.207 GB, free: 224.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/3.571, allocations: 303.7 kB / 1.207 GB, free: 224.6 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.003706/3.575, allocations: 1.293 MB / 1.208 GB, free: 223.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/3.577, allocations: 426.3 kB / 1.209 GB, free: 222.8 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06747/3.644, allocations: 26.46 MB / 1.235 GB, free: 196.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.069/3.713, allocations: 23.64 MB / 1.258 GB, free: 172.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.197e-05/3.713, allocations: 7.938 kB / 1.258 GB, free: 172.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001992/3.714, allocations: 43.59 kB / 1.258 GB, free: 172.5 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.1022/3.816, allocations: 40.02 MB / 1.297 GB, free: 131.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001734/3.816, allocations: 19.94 kB / 1.297 GB, free: 131.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01882/3.835, allocations: 3.874 MB / 1.301 GB, free: 128 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01611/3.851, allocations: 5.121 MB / 1.306 GB, free: 122.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002526/3.854, allocations: 307.6 kB / 1.306 GB, free: 122.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0627/3.916, allocations: 36.84 MB / 1.342 GB, free: 84.04 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/3.916, allocations: 4 kB / 1.342 GB, free: 84.04 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0911/4.007, allocations: 34.21 MB / 1.375 GB, free: 49.64 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005049/4.013, allocations: 1.68 MB / 1.377 GB, free: 47.94 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002348/4.015, allocations: 180 kB / 1.377 GB, free: 47.76 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0105/4.025, allocations: 1.463 MB / 1.379 GB, free: 46.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002986/4.028, allocations: 0.6518 MB / 1.379 GB, free: 45.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002028/4.03, allocations: 339.1 kB / 1.379 GB, free: 45.32 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001187/4.032, allocations: 0.8284 MB / 1.38 GB, free: 44.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.7e-07/4.032, allocations: 0 / 1.38 GB, free: 44.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01187/4.044, allocations: 3.412 MB / 1.384 GB, free: 41.23 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.01014/4.054, allocations: 2.504 MB / 1.386 GB, free: 39.18 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.05154/4.105, allocations: 22.66 MB / 1.408 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/4.105, allocations: 256 / 1.408 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02771/4.133, allocations: 13.79 MB / 1.422 GB, free: 1.461 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2064/4.34, allocations: 2.17 MB / 1.424 GB, free: 411.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06979/4.409, allocations: 31.2 MB / 1.454 GB, free: 403.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002902/4.412, allocations: 3.835 MB / 1.458 GB, free: 403 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007296/4.42, allocations: 1.844 MB / 1.46 GB, free: 402.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/4.422, allocations: 0.606 MB / 1.46 GB, free: 402.8 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/4.422, allocations: 0 / 1.46 GB, free: 402.8 MB / 0.795 GB Notification: Performance of Templates: time 0.2739/4.696, allocations: 234.6 MB / 1.69 GB, free: 190.3 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum_CC.pipe 2>&1) Environment - environmentSimulation: