Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.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.TestDynamicDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8381/0.8381, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.708e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1664, 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.TestDynamicDrum1): time 1.661/1.828, allocations: 298.3 MB / 0.5225 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5307/2.358, allocations: 189.2 MB / 0.7072 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/2.36, allocations: 12.16 kB / 0.7073 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/2.361, allocations: 315.8 kB / 0.7076 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/2.363, allocations: 0.7627 MB / 0.7083 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02801/2.391, allocations: 9.821 MB / 0.7179 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008373/2.4, allocations: 9.825 MB / 0.7275 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004695/2.404, allocations: 3.005 MB / 0.7304 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/2.41, allocations: 3 MB / 0.7333 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006994/2.417, allocations: 3.734 MB / 0.737 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001821/2.419, allocations: 311.9 kB / 0.7373 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04001/2.459, allocations: 21.5 MB / 0.7583 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004177/2.463, allocations: 1.951 MB / 0.7602 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008417/2.472, allocations: 2.88 MB / 0.763 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03687/2.509, allocations: 16.98 MB / 0.7796 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/2.509, allocations: 0 / 0.7796 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.765e-06/2.509, allocations: 0 / 0.7796 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002691/2.509, allocations: 0 / 0.7796 GB, free: 1.812 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: 1470 * Number of variables: 1470 Notification: Performance of Generate backend data structure: time 0.03441/2.543, allocations: 8.686 MB / 0.7881 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/2.543, allocations: 12.03 kB / 0.7881 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/2.546, allocations: 0.5163 MB / 0.7886 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/2.551, allocations: 2.007 MB / 0.7905 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002654/2.554, allocations: 1.824 MB / 0.7923 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/2.556, allocations: 372.7 kB / 0.7927 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/2.582, allocations: 10.64 MB / 0.8031 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/2.582, allocations: 2.906 kB / 0.8031 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006034/2.583, allocations: 144 kB / 0.8032 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/2.583, allocations: 167.9 kB / 0.8034 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03419/2.617, allocations: 14.06 MB / 0.8171 GB, free: 12.55 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.0589/2.676, allocations: 34.03 MB / 0.8503 GB, free: 8.547 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02488/2.701, allocations: 10.44 MB / 0.8605 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01935/2.72, allocations: 8.372 MB / 0.8687 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5765/3.297, allocations: 188.8 MB / 1.053 GB, free: 375.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/3.297, allocations: 93.3 kB / 1.053 GB, free: 375.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1150): time 7.955e-06/3.297, allocations: 4 kB / 1.053 GB, free: 375.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=1151): time 0.1581/3.455, allocations: 54.41 MB / 1.106 GB, free: 327.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/3.455, allocations: 111.9 kB / 1.106 GB, free: 327.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009551/3.456, allocations: 0.9339 MB / 1.107 GB, free: 326.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001835/3.458, allocations: 121.7 kB / 1.107 GB, free: 326.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/3.458, allocations: 0.7027 MB / 1.108 GB, free: 325.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003457/3.462, allocations: 3.799 MB / 1.112 GB, free: 321.6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/3.463, allocations: 0.6991 MB / 1.113 GB, free: 320.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/3.463, allocations: 301.1 kB / 1.113 GB, free: 320.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01671/3.48, allocations: 7.372 MB / 1.12 GB, free: 313.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01719/3.497, allocations: 8.203 MB / 1.128 GB, free: 304.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03368/3.531, allocations: 15.47 MB / 1.143 GB, free: 289.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/3.531, allocations: 0 / 1.143 GB, free: 289.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=1252) (initialization): time 0.04694/3.578, allocations: 20.6 MB / 1.163 GB, free: 268.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/3.578, allocations: 8 kB / 1.163 GB, free: 268.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.27e-05/3.578, allocations: 31.98 kB / 1.163 GB, free: 268.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05457/3.633, allocations: 22.07 MB / 1.185 GB, free: 246.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/3.643, allocations: 1.908 MB / 1.187 GB, free: 244.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02644/3.669, allocations: 16.38 MB / 1.203 GB, free: 227.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/3.68, allocations: 1.412 MB / 1.204 GB, free: 226.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002431/3.682, allocations: 303.6 kB / 1.204 GB, free: 226.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 (428): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 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,16), (1,1), (25,209)} Notification: Performance of prepare postOptimizeDAE: time 0.003887/3.686, allocations: 1.237 MB / 1.206 GB, free: 225 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009796/3.687, allocations: 405 kB / 1.206 GB, free: 224.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07229/3.759, allocations: 31.11 MB / 1.236 GB, free: 193.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06355/3.823, allocations: 23.38 MB / 1.259 GB, free: 169.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.775e-05/3.823, allocations: 4.625 kB / 1.259 GB, free: 169.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002437/3.823, allocations: 43.78 kB / 1.259 GB, free: 169.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.09643/3.92, allocations: 38.71 MB / 1.297 GB, free: 130.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001939/3.92, allocations: 20 kB / 1.297 GB, free: 130.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01889/3.939, allocations: 3.835 MB / 1.301 GB, free: 126.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01556/3.955, allocations: 5.121 MB / 1.306 GB, free: 121.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002283/3.957, allocations: 311.6 kB / 1.306 GB, free: 121.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06064/4.017, allocations: 36.85 MB / 1.342 GB, free: 82.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/4.018, allocations: 4 kB / 1.342 GB, free: 82.67 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0847/4.102, allocations: 33.76 MB / 1.375 GB, free: 48.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004405/4.107, allocations: 1.633 MB / 1.377 GB, free: 47.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009966/4.108, allocations: 184 kB / 1.377 GB, free: 46.89 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008708/4.116, allocations: 1.443 MB / 1.378 GB, free: 45.45 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001554/4.118, allocations: 0.6343 MB / 1.379 GB, free: 44.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006463/4.119, allocations: 327.6 kB / 1.379 GB, free: 44.49 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007273/4.119, allocations: 0.6941 MB / 1.38 GB, free: 43.79 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/4.119, allocations: 0 / 1.38 GB, free: 43.79 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009048/4.128, allocations: 3.482 MB / 1.383 GB, free: 40.47 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,1), (1,4), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007351/4.136, allocations: 2.646 MB / 1.386 GB, free: 38.29 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.05021/4.186, allocations: 22.26 MB / 1.408 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/4.186, allocations: 0 / 1.408 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02575/4.212, allocations: 13.62 MB / 1.421 GB, free: 1.176 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2138/4.426, allocations: 2.138 MB / 1.423 GB, free: 411.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06864/4.494, allocations: 30.42 MB / 1.453 GB, free: 404.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/4.497, allocations: 3.685 MB / 1.456 GB, free: 403.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007573/4.505, allocations: 1.804 MB / 1.458 GB, free: 403.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/4.507, allocations: 0.5942 MB / 1.459 GB, free: 403.2 MB / 0.795 GB Notification: Performance of SimCode: time 1.022e-06/4.507, allocations: 0 / 1.459 GB, free: 403.2 MB / 0.795 GB Notification: Performance of Templates: time 0.2801/4.788, allocations: 234.6 MB / 1.688 GB, free: 190.2 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.pipe 2>&1) Environment - environmentSimulation: