Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum",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.7698/0.7698, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.57e-05, allocations: 4 kB / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1344, allocations: 31.99 MB / 236.8 MB, free: 5.391 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): time 1.438/1.572, allocations: 299.1 MB / 0.5234 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4166/1.989, allocations: 189.1 MB / 0.7081 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/1.989, allocations: 11.97 kB / 0.7081 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006558/1.99, allocations: 309.6 kB / 0.7084 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/1.991, allocations: 0.7501 MB / 0.7091 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02206/2.014, allocations: 9.809 MB / 0.7187 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006713/2.02, allocations: 9.768 MB / 0.7282 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003272/2.024, allocations: 3.015 MB / 0.7312 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/2.027, allocations: 2.973 MB / 0.7341 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004748/2.032, allocations: 3.73 MB / 0.7377 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009851/2.033, allocations: 310.8 kB / 0.738 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02887/2.062, allocations: 18.6 MB / 0.7562 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00306/2.065, allocations: 1.954 MB / 0.7581 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004801/2.07, allocations: 2.864 MB / 0.7609 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02496/2.095, allocations: 16.05 MB / 0.7766 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/2.095, allocations: 0 / 0.7766 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/2.095, allocations: 0 / 0.7766 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001012/2.095, allocations: 0 / 0.7766 GB, free: 4.484 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: 1459 * Number of variables: 1459 Notification: Performance of Generate backend data structure: time 0.03044/2.125, allocations: 8.535 MB / 0.7849 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/2.125, allocations: 8.031 kB / 0.7849 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001524/2.127, allocations: 0.7154 MB / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/2.128, allocations: 0.5111 MB / 0.7861 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/2.131, allocations: 2 MB / 0.7881 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001898/2.133, allocations: 1.825 MB / 0.7898 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008635/2.134, allocations: 371.6 kB / 0.7902 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02104/2.155, allocations: 10.61 MB / 0.8006 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/2.155, allocations: 6.75 kB / 0.8006 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005657/2.155, allocations: 144 kB / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/2.155, allocations: 163.9 kB / 0.8009 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/2.187, allocations: 14.02 MB / 0.8146 GB, free: 15.8 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.03429/2.221, allocations: 25.47 MB / 0.8394 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/2.245, allocations: 10.44 MB / 0.8496 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01767/2.262, allocations: 8.341 MB / 0.8578 GB, free: 2.449 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.513/2.775, allocations: 188.8 MB / 1.042 GB, free: 388.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.299e-05/2.776, allocations: 95.02 kB / 1.042 GB, free: 388.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1140): time 9.438e-06/2.776, allocations: 0 / 1.042 GB, free: 388.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=1141): time 0.1542/2.93, allocations: 54.26 MB / 1.095 GB, free: 340.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/2.93, allocations: 115.9 kB / 1.095 GB, free: 340.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/2.931, allocations: 0.9421 MB / 1.096 GB, free: 339.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001413/2.932, allocations: 125.7 kB / 1.096 GB, free: 339.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/2.933, allocations: 0.6927 MB / 1.097 GB, free: 338.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003092/2.936, allocations: 3.764 MB / 1.101 GB, free: 334.6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/2.937, allocations: 0.699 MB / 1.101 GB, free: 333.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.214e-05/2.938, allocations: 301.1 kB / 1.102 GB, free: 333.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0159/2.953, allocations: 7.365 MB / 1.109 GB, free: 326.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01605/2.969, allocations: 8.181 MB / 1.117 GB, free: 317.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03106/3.001, allocations: 15.44 MB / 1.132 GB, free: 302.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/3.001, allocations: 0 / 1.132 GB, free: 302.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04528/3.046, allocations: 20.59 MB / 1.152 GB, free: 281.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.445e-05/3.046, allocations: 8 kB / 1.152 GB, free: 281.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-05/3.046, allocations: 35.98 kB / 1.152 GB, free: 281.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05464/3.101, allocations: 22.18 MB / 1.174 GB, free: 259.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009972/3.111, allocations: 1.885 MB / 1.176 GB, free: 257.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02735/3.138, allocations: 16.39 MB / 1.192 GB, free: 240.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009364/3.147, allocations: 1.416 MB / 1.193 GB, free: 239.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/3.149, allocations: 303.6 kB / 1.193 GB, free: 239.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 (429): * Single equations (assignments): 408 * 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,3), (1,16), (1,1), (25,209)} Notification: Performance of prepare postOptimizeDAE: time 0.00343/3.153, allocations: 1.229 MB / 1.194 GB, free: 237.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008561/3.153, allocations: 406.6 kB / 1.195 GB, free: 237.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06389/3.217, allocations: 26.1 MB / 1.22 GB, free: 211.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06482/3.282, allocations: 23.37 MB / 1.243 GB, free: 187.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/3.282, allocations: 7.938 kB / 1.243 GB, free: 187.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001571/3.282, allocations: 39.84 kB / 1.243 GB, free: 187.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.09069/3.373, allocations: 38.66 MB / 1.281 GB, free: 148.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001432/3.373, allocations: 23.98 kB / 1.281 GB, free: 148.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01797/3.391, allocations: 3.847 MB / 1.285 GB, free: 144.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/3.406, allocations: 5.11 MB / 1.29 GB, free: 139.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002007/3.408, allocations: 307.6 kB / 1.29 GB, free: 139.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05922/3.467, allocations: 36.84 MB / 1.326 GB, free: 100.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/3.467, allocations: 4 kB / 1.326 GB, free: 100.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0832/3.55, allocations: 33.76 MB / 1.359 GB, free: 66.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00448/3.555, allocations: 1.622 MB / 1.361 GB, free: 65.11 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002104/3.557, allocations: 187.6 kB / 1.361 GB, free: 64.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009772/3.567, allocations: 1.439 MB / 1.362 GB, free: 63.49 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002683/3.569, allocations: 0.6366 MB / 1.363 GB, free: 62.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001695/3.571, allocations: 327.6 kB / 1.363 GB, free: 62.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007687/3.572, allocations: 0.6582 MB / 1.364 GB, free: 61.87 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/3.572, allocations: 0 / 1.364 GB, free: 61.87 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009274/3.581, allocations: 3.374 MB / 1.367 GB, free: 58.65 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,3), (1,1), (1,4), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.08562/3.667, allocations: 36.72 MB / 1.403 GB, free: 22.18 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.204/3.871, allocations: 22.22 MB / 1.425 GB, free: 414.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/3.871, allocations: 0 / 1.425 GB, free: 414.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02512/3.896, allocations: 13.61 MB / 1.438 GB, free: 411.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/3.906, allocations: 2.117 MB / 1.44 GB, free: 411.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1902/4.097, allocations: 96.26 MB / 1.534 GB, free: 354.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/4.099, allocations: 3.677 MB / 1.538 GB, free: 350.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006721/4.106, allocations: 1.794 MB / 1.539 GB, free: 348.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00397/4.11, allocations: 2.584 MB / 1.542 GB, free: 346.1 MB / 0.795 GB Notification: Performance of SimCode: time 8.52e-07/4.11, allocations: 4 kB / 1.542 GB, free: 346.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4625/4.572, allocations: 288.7 MB / 1.824 GB, free: 386.8 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/4.573, allocations: 274.1 kB / 1.824 GB, free: 386.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/17.55, allocations: 3.859 kB / 1.824 GB, free: 386.4 MB / 0.795 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum.pipe 2>&1)