Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.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.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7384/0.7384, allocations: 150.8 MB / 166.1 MB, free: 15.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.229e-05/1.239e-05, allocations: 0 / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 31.98 MB / 236.8 MB, free: 5.293 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.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser): time 1.434/1.568, allocations: 299 MB / 0.5232 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04481/1.613, allocations: 41.43 MB / 0.5636 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/1.614, allocations: 15.94 kB / 0.5636 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/1.615, allocations: 441.9 kB / 0.5641 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/1.617, allocations: 0.8509 MB / 0.5649 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02109/1.638, allocations: 8.441 MB / 0.5731 GB, free: 5.051 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004787/1.643, allocations: 5.065 MB / 0.5781 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/1.645, allocations: 1.475 MB / 0.5795 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/1.647, allocations: 1.409 MB / 0.5809 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/1.649, allocations: 1.724 MB / 0.5826 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002994/1.65, allocations: 120 kB / 0.5827 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02401/1.674, allocations: 16.21 MB / 0.5985 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/1.675, allocations: 0.8603 MB / 0.5994 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/1.677, allocations: 1.548 MB / 0.6009 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01904/1.696, allocations: 11.83 MB / 0.6124 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.696, allocations: 0 / 0.6124 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.186e-06/1.696, allocations: 11.98 kB / 0.6124 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001165/1.697, allocations: 0 / 0.6124 GB, free: 12.68 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.0119/1.709, allocations: 4.057 MB / 0.6164 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/1.709, allocations: 12.03 kB / 0.6164 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008396/1.709, allocations: 320 kB / 0.6167 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/1.712, allocations: 1.332 MB / 0.618 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/1.712, allocations: 334.2 kB / 0.6183 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005119/1.712, allocations: 211.8 kB / 0.6185 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006044/1.718, allocations: 3.855 MB / 0.6223 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/1.719, allocations: 7.938 kB / 0.6223 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/1.719, allocations: 84 kB / 0.6224 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.715e-05/1.719, allocations: 123.9 kB / 0.6225 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005736/1.725, allocations: 3.557 MB / 0.626 GB, free: 14.52 MB / 0.5137 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.01638/1.741, allocations: 15.09 MB / 0.6407 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008869/1.75, allocations: 3.319 MB / 0.644 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/1.753, allocations: 2.352 MB / 0.6463 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4186/2.172, allocations: 145.1 MB / 0.788 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004406/2.176, allocations: 2.547 MB / 0.7905 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=491): time 5.2e-06/2.176, allocations: 0 / 0.7905 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=492): time 0.04918/2.226, allocations: 18.82 MB / 0.8088 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/2.226, allocations: 104.4 kB / 0.8089 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/2.227, allocations: 1.203 MB / 0.8101 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003326/2.227, allocations: 65.7 kB / 0.8102 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/2.228, allocations: 0.7349 MB / 0.8109 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008978/2.228, allocations: 1.618 MB / 0.8125 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/2.229, allocations: 310.8 kB / 0.8128 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.172e-05/2.229, allocations: 309.1 kB / 0.8131 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/2.231, allocations: 1.853 MB / 0.8149 GB, free: 123 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/2.234, allocations: 2.257 MB / 0.8171 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/2.24, allocations: 4.588 MB / 0.8216 GB, free: 116 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/2.24, allocations: 4 kB / 0.8216 GB, free: 116 MB / 0.5762 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.01315/2.253, allocations: 7.162 MB / 0.8286 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/2.253, allocations: 11.98 kB / 0.8286 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/2.253, allocations: 12 kB / 0.8286 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06422/2.317, allocations: 12.9 MB / 0.8412 GB, free: 95.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/2.318, allocations: 80.41 kB / 0.8412 GB, free: 95.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/2.33, allocations: 10.25 MB / 0.8513 GB, free: 85.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/2.332, allocations: 179.4 kB / 0.8514 GB, free: 85.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/2.332, allocations: 103.9 kB / 0.8515 GB, free: 85.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.PressureLoss_VapeurIn1.touvert,$whenCondition2,$PRE.PressureLoss_VapeurIn1.tferme,$whenCondition1,PressureLoss_VapeurIn1.tferme,PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.ouvert,$PRE.PressureLoss_VapeurIn1.ouvert,PressureLoss_VapeurIn1.C1.a,PressureLoss_VapeurIn1.C2.b,PressureLoss_EauOut.C2.b,PressureLoss_EauOut.C1.a,Source_Vsup1.C.b,PressureLoss_VapeurIn_in4.C2.b,PressureLoss_VapeurIn_in4.C1.a,Valve_ext.C2.b,Valve_ext.C1.a,PressureLoss_VapeurIn.C2.b,PressureLoss_VapeurIn.C1.a,Puit_Eau.C.a,DynamicCondenser.pipe_3.C2.b,DynamicCondenser.pipe_3.C1.a,DynamicCondenser.DynamicCondenser.CvGCT.a,DynamicCondenser.DynamicCondenser.Ce.a,DynamicCondenser.DynamicCondenser.Cl.b,DynamicCondenser.DynamicCondenser.CvBP.a,Puit_condenseur1.C.a,Source_vapeur.C.b,Source_Eau.C.b,DynamicCondenser.C1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 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): 6 systems {(1,9), (18,105), (1,3), (1,3), (1,3), (8,29)} Notification: Performance of prepare postOptimizeDAE: time 0.001127/2.334, allocations: 0.7492 MB / 0.8523 GB, free: 84.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/2.334, allocations: 228.3 kB / 0.8525 GB, free: 84.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/2.347, allocations: 9.152 MB / 0.8614 GB, free: 74.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01031/2.357, allocations: 7.223 MB / 0.8685 GB, free: 67.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/2.357, allocations: 7.938 kB / 0.8685 GB, free: 67.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/2.357, allocations: 23.86 kB / 0.8685 GB, free: 67.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/2.381, allocations: 15.38 MB / 0.8835 GB, free: 51.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/2.381, allocations: 11.98 kB / 0.8835 GB, free: 51.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0055/2.387, allocations: 1.245 MB / 0.8847 GB, free: 50.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02701/2.414, allocations: 5.888 MB / 0.8905 GB, free: 44.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007373/2.414, allocations: 103.9 kB / 0.8906 GB, free: 44.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/2.429, allocations: 23.4 MB / 0.9135 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.429, allocations: 4 kB / 0.9135 GB, free: 19.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/2.446, allocations: 11.04 MB / 0.9242 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/2.447, allocations: 0.7876 MB / 0.925 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/2.448, allocations: 79.98 kB / 0.9251 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/2.45, allocations: 207.2 kB / 0.9253 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/2.45, allocations: 262.7 kB / 0.9255 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/2.45, allocations: 123.9 kB / 0.9256 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008227/2.451, allocations: 0.8669 MB / 0.9265 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.451, allocations: 0 / 0.9265 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003787/2.455, allocations: 1.933 MB / 0.9284 GB, free: 4.277 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 15 (DynamicCondenser.DynamicCondenser.P,DynamicCondenser.DynamicCondenser.hl,DynamicCondenser.DynamicCondenser.hv,DynamicCondenser.DynamicCondenser.Vv,DynamicCondenser.DynamicCondenser.Tp,DynamicCondenser.pipe_3.h[2],DynamicCondenser.pipe_3.h[3],DynamicCondenser.pipe_3.h[4],DynamicCondenser.pipe_3.h[5],DynamicCondenser.pipe_3.h[6],DynamicCondenser.Wall_3.Tp[1],DynamicCondenser.Wall_3.Tp[2],DynamicCondenser.Wall_3.Tp[3],DynamicCondenser.Wall_3.Tp[4],DynamicCondenser.Wall_3.Tp[5]) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,PressureLoss_VapeurIn1.ouvert,PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.tferme) * Number of discrete states: 2 (PressureLoss_VapeurIn1.touvert,PressureLoss_VapeurIn1.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (324): * Single equations (assignments): 288 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(4,1,62.5%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 16 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,3), (1,3), (1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004086/2.459, allocations: 1.848 MB / 0.9302 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.1701/2.629, allocations: 7.746 MB / 0.9378 GB, free: 211.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/2.629, allocations: 1.125 kB / 0.9378 GB, free: 211.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007144/2.636, allocations: 4.565 MB / 0.9422 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006221/2.643, allocations: 1.266 MB / 0.9434 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/2.655, allocations: 10.71 MB / 0.9539 GB, free: 206.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/2.657, allocations: 2.437 MB / 0.9563 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001742/2.659, allocations: 473.3 kB / 0.9567 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/2.659, allocations: 169.4 kB / 0.9569 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/2.659, allocations: 0 / 0.9569 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1337/2.793, allocations: 124.6 MB / 1.079 GB, free: 100.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.pipe 2>&1) Environment - environmentSimulation: