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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7662/0.7662, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.971e-05, allocations: 7.984 kB / 204.9 MB, free: 9.945 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 31.98 MB / 236.8 MB, free: 5.398 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.631/1.775, allocations: 299.3 MB / 0.5235 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5066/2.282, allocations: 189.2 MB / 0.7083 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/2.283, allocations: 9.781 kB / 0.7083 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/2.284, allocations: 359.2 kB / 0.7086 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/2.287, allocations: 0.8147 MB / 0.7094 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02558/2.312, allocations: 9.839 MB / 0.719 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007699/2.32, allocations: 9.855 MB / 0.7287 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004087/2.324, allocations: 3.027 MB / 0.7316 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/2.329, allocations: 3.012 MB / 0.7346 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006392/2.335, allocations: 3.784 MB / 0.7383 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001989/2.337, allocations: 310.6 kB / 0.7386 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0335/2.371, allocations: 18.74 MB / 0.7569 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0035/2.374, allocations: 1.985 MB / 0.7588 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006335/2.381, allocations: 2.919 MB / 0.7617 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03065/2.411, allocations: 16.19 MB / 0.7775 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/2.411, allocations: 0 / 0.7775 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.407e-06/2.411, allocations: 0 / 0.7775 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002291/2.412, allocations: 4 kB / 0.7775 GB, free: 4.121 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.03333/2.445, allocations: 8.651 MB / 0.7859 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/2.445, allocations: 16.02 kB / 0.7859 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002095/2.447, allocations: 0.7179 MB / 0.7866 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/2.449, allocations: 0.5227 MB / 0.7871 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/2.452, allocations: 2.072 MB / 0.7892 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002275/2.455, allocations: 1.822 MB / 0.7909 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/2.456, allocations: 377.6 kB / 0.7913 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/2.484, allocations: 10.67 MB / 0.8017 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.471e-05/2.484, allocations: 0 / 0.8017 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/2.486, allocations: 144 kB / 0.8019 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/2.486, allocations: 174.8 kB / 0.802 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03697/2.523, allocations: 14.09 MB / 0.8158 GB, free: 14.85 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.04318/2.566, allocations: 26.14 MB / 0.8413 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02594/2.592, allocations: 10.49 MB / 0.8516 GB, free: 9.016 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01975/2.612, allocations: 8.38 MB / 0.8597 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5562/3.168, allocations: 188.8 MB / 1.044 GB, free: 386.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.116e-05/3.168, allocations: 96.03 kB / 1.044 GB, free: 386.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1151): time 1.497e-05/3.168, allocations: 0 / 1.044 GB, free: 386.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=1152): time 0.1636/3.332, allocations: 54.58 MB / 1.098 GB, free: 337.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/3.332, allocations: 111.9 kB / 1.098 GB, free: 337.6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/3.333, allocations: 1.085 MB / 1.099 GB, free: 336.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001644/3.335, allocations: 121.7 kB / 1.099 GB, free: 336.4 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/3.335, allocations: 0.7493 MB / 1.1 GB, free: 335.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003584/3.339, allocations: 3.805 MB / 1.103 GB, free: 331.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/3.341, allocations: 0.6912 MB / 1.104 GB, free: 331.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/3.341, allocations: 305.1 kB / 1.104 GB, free: 330.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01693/3.358, allocations: 7.376 MB / 1.111 GB, free: 323.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01717/3.375, allocations: 8.193 MB / 1.119 GB, free: 315.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03432/3.409, allocations: 15.49 MB / 1.135 GB, free: 299.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/3.41, allocations: 3.984 kB / 1.135 GB, free: 299.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.05212/3.462, allocations: 20.77 MB / 1.155 GB, free: 278.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/3.462, allocations: 12.66 kB / 1.155 GB, free: 278.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.548e-05/3.462, allocations: 31.98 kB / 1.155 GB, free: 278.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05892/3.521, allocations: 23.93 MB / 1.178 GB, free: 254.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/3.531, allocations: 1.876 MB / 1.18 GB, free: 252.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02944/3.56, allocations: 16.05 MB / 1.196 GB, free: 236.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009699/3.57, allocations: 1.412 MB / 1.197 GB, free: 235.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/3.572, allocations: 299.6 kB / 1.197 GB, free: 234.8 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.003983/3.576, allocations: 1.264 MB / 1.199 GB, free: 233.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/3.577, allocations: 415.3 kB / 1.199 GB, free: 233.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06902/3.646, allocations: 26.29 MB / 1.225 GB, free: 206.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06497/3.711, allocations: 23.52 MB / 1.248 GB, free: 183.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.894e-05/3.712, allocations: 4 kB / 1.248 GB, free: 183.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000207/3.712, allocations: 43.83 kB / 1.248 GB, free: 183.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.09753/3.809, allocations: 39.15 MB / 1.286 GB, free: 143.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001988/3.81, allocations: 23.98 kB / 1.286 GB, free: 143.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0183/3.828, allocations: 3.843 MB / 1.29 GB, free: 139.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01596/3.844, allocations: 5.135 MB / 1.295 GB, free: 134.3 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002159/3.846, allocations: 309.5 kB / 1.295 GB, free: 134 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06175/3.908, allocations: 36.85 MB / 1.331 GB, free: 95.46 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/3.908, allocations: 11.88 kB / 1.331 GB, free: 95.45 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08756/3.995, allocations: 33.99 MB / 1.364 GB, free: 61.29 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004226/4, allocations: 1.653 MB / 1.366 GB, free: 59.61 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001888/4.002, allocations: 180 kB / 1.366 GB, free: 59.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009591/4.011, allocations: 1.443 MB / 1.367 GB, free: 57.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002395/4.014, allocations: 0.6383 MB / 1.368 GB, free: 57.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001479/4.015, allocations: 331.6 kB / 1.368 GB, free: 57.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009415/4.016, allocations: 0.7629 MB / 1.369 GB, free: 56.25 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/4.016, allocations: 0 / 1.369 GB, free: 56.25 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009871/4.026, allocations: 3.396 MB / 1.372 GB, free: 53.01 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.09209/4.118, allocations: 36.97 MB / 1.409 GB, free: 16.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.2315/4.349, allocations: 22.4 MB / 1.43 GB, free: 414 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/4.35, allocations: 1.031 kB / 1.43 GB, free: 414 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02832/4.378, allocations: 13.7 MB / 1.444 GB, free: 410.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01492/4.393, allocations: 2.159 MB / 1.446 GB, free: 410.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2138/4.607, allocations: 97.48 MB / 1.541 GB, free: 347 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/4.61, allocations: 3.765 MB / 1.545 GB, free: 343.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007538/4.618, allocations: 1.827 MB / 1.547 GB, free: 341.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004736/4.623, allocations: 2.67 MB / 1.549 GB, free: 338.8 MB / 0.795 GB Notification: Performance of SimCode: time 6.91e-07/4.623, allocations: 0 / 1.549 GB, free: 338.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5119/5.135, allocations: 292 MB / 1.834 GB, free: 392.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/5.135, allocations: 278.3 kB / 1.835 GB, free: 392.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/18.24, allocations: 1.781 kB / 1.835 GB, free: 392.4 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum2.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.pipe 2>&1)