Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.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.TestDynamicDrum3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum3",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.7789/0.7789, allocations: 150.8 MB / 166.1 MB, free: 15.15 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.688e-05, allocations: 4 kB / 204.8 MB, free: 9.59 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 31.99 MB / 236.8 MB, free: 5.316 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.TestDynamicDrum3): time 1.59/1.738, allocations: 299.1 MB / 0.5234 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4888/2.227, allocations: 189.1 MB / 0.7081 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/2.228, allocations: 12.88 kB / 0.7081 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/2.228, allocations: 311.6 kB / 0.7084 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/2.23, allocations: 0.7476 MB / 0.7091 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02399/2.254, allocations: 9.8 MB / 0.7187 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007244/2.261, allocations: 9.774 MB / 0.7282 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/2.264, allocations: 3.009 MB / 0.7312 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004568/2.269, allocations: 2.979 MB / 0.7341 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006192/2.275, allocations: 3.721 MB / 0.7377 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002197/2.277, allocations: 311.5 kB / 0.738 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03428/2.312, allocations: 18.63 MB / 0.7562 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003238/2.315, allocations: 1.944 MB / 0.7581 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004611/2.32, allocations: 2.865 MB / 0.7609 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02982/2.349, allocations: 16.05 MB / 0.7766 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/2.35, allocations: 0 / 0.7766 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.755e-06/2.35, allocations: 4 kB / 0.7766 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001897/2.35, allocations: 4 kB / 0.7766 GB, free: 4.5 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.03196/2.382, allocations: 8.532 MB / 0.7849 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/2.382, allocations: 15.97 kB / 0.7849 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001874/2.384, allocations: 0.7115 MB / 0.7856 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/2.385, allocations: 0.5136 MB / 0.7861 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/2.388, allocations: 1.991 MB / 0.7881 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002081/2.39, allocations: 1.822 MB / 0.7898 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/2.391, allocations: 380.1 kB / 0.7902 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/2.415, allocations: 10.61 MB / 0.8006 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-05/2.415, allocations: 2.906 kB / 0.8006 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006006/2.416, allocations: 144 kB / 0.8007 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/2.416, allocations: 167.9 kB / 0.8009 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03515/2.451, allocations: 14.03 MB / 0.8146 GB, free: 15.77 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.03965/2.491, allocations: 25.46 MB / 0.8394 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02572/2.517, allocations: 10.44 MB / 0.8496 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02/2.537, allocations: 8.337 MB / 0.8578 GB, free: 2.426 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.548/3.085, allocations: 188.8 MB / 1.042 GB, free: 388.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.991e-05/3.085, allocations: 93.7 kB / 1.042 GB, free: 388.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1140): time 1.251e-05/3.085, allocations: 4 kB / 1.042 GB, free: 388.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=1141): time 0.1667/3.252, allocations: 54.25 MB / 1.095 GB, free: 340.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/3.252, allocations: 119.9 kB / 1.095 GB, free: 340.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/3.253, allocations: 0.9421 MB / 1.096 GB, free: 339.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001773/3.255, allocations: 117.7 kB / 1.096 GB, free: 339.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/3.255, allocations: 0.6972 MB / 1.097 GB, free: 338.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003575/3.259, allocations: 3.768 MB / 1.101 GB, free: 334.6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002145/3.261, allocations: 0.699 MB / 1.101 GB, free: 333.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/3.261, allocations: 301.1 kB / 1.102 GB, free: 333.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01708/3.278, allocations: 7.365 MB / 1.109 GB, free: 326.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01719/3.295, allocations: 8.183 MB / 1.117 GB, free: 317.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03345/3.329, allocations: 15.44 MB / 1.132 GB, free: 302.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/3.329, allocations: 8 kB / 1.132 GB, free: 302.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04857/3.377, allocations: 20.59 MB / 1.152 GB, free: 281.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/3.377, allocations: 8 kB / 1.152 GB, free: 281.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.481e-05/3.377, allocations: 31.98 kB / 1.152 GB, free: 281.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05635/3.434, allocations: 22.19 MB / 1.174 GB, free: 259.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/3.444, allocations: 1.888 MB / 1.176 GB, free: 257.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02851/3.473, allocations: 16.38 MB / 1.192 GB, free: 240.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009865/3.483, allocations: 1.412 MB / 1.193 GB, free: 239.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/3.484, allocations: 307.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.003975/3.488, allocations: 1.237 MB / 1.195 GB, free: 237.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/3.49, allocations: 407.4 kB / 1.195 GB, free: 237.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06899/3.559, allocations: 26.09 MB / 1.22 GB, free: 211.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06643/3.625, allocations: 23.36 MB / 1.243 GB, free: 187.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-05/3.625, allocations: 9.5 kB / 1.243 GB, free: 187.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001647/3.625, allocations: 43.83 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.09523/3.721, allocations: 38.66 MB / 1.281 GB, free: 148.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001623/3.721, allocations: 27.98 kB / 1.281 GB, free: 148.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01835/3.739, allocations: 3.843 MB / 1.285 GB, free: 144.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01543/3.755, allocations: 5.118 MB / 1.29 GB, free: 139.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002193/3.757, allocations: 307.3 kB / 1.29 GB, free: 139.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06109/3.818, allocations: 36.85 MB / 1.326 GB, free: 100.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/3.818, allocations: 4 kB / 1.326 GB, free: 100.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08713/3.905, allocations: 33.76 MB / 1.359 GB, free: 66.79 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004243/3.91, allocations: 1.629 MB / 1.361 GB, free: 65.13 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001866/3.911, allocations: 176 kB / 1.361 GB, free: 64.96 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009497/3.921, allocations: 1.443 MB / 1.362 GB, free: 63.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002432/3.923, allocations: 0.6305 MB / 1.363 GB, free: 62.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00147/3.925, allocations: 327.7 kB / 1.363 GB, free: 62.56 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007725/3.926, allocations: 0.6621 MB / 1.364 GB, free: 61.89 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/3.926, allocations: 3.938 kB / 1.364 GB, free: 61.88 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00973/3.935, allocations: 3.368 MB / 1.367 GB, free: 58.67 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.094/4.029, allocations: 36.71 MB / 1.403 GB, free: 22.21 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.2312/4.261, allocations: 22.22 MB / 1.425 GB, free: 414.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/4.261, allocations: 0.8125 kB / 1.425 GB, free: 414.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02817/4.289, allocations: 13.62 MB / 1.438 GB, free: 411.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/4.302, allocations: 2.117 MB / 1.44 GB, free: 411.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2093/4.511, 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.004005/4.515, allocations: 3.68 MB / 1.538 GB, free: 350.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.008259/4.523, allocations: 1.79 MB / 1.539 GB, free: 348.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00543/4.529, allocations: 2.596 MB / 1.542 GB, free: 346.1 MB / 0.795 GB Notification: Performance of SimCode: time 9.91e-07/4.529, allocations: 0 / 1.542 GB, free: 346.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5009/5.03, allocations: 288.6 MB / 1.824 GB, free: 386.4 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/5.03, allocations: 279.9 kB / 1.824 GB, free: 386 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/17.98, allocations: 2.406 kB / 1.824 GB, free: 386 MB / 0.795 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicDrum3.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.pipe 2>&1)