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: "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestDynamicCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestDynamicCondenser",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.7712/0.7712, allocations: 150.8 MB / 166.1 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.186e-05/1.188e-05, allocations: 0 / 204.9 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 31.98 MB / 236.8 MB, free: 5.402 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.486/1.629, allocations: 299.9 MB / 0.5242 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04543/1.675, allocations: 41.43 MB / 0.5647 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000905/1.676, allocations: 19.94 kB / 0.5647 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008303/1.677, allocations: 441.9 kB / 0.5651 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/1.678, allocations: 0.847 MB / 0.5659 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02154/1.7, allocations: 8.442 MB / 0.5742 GB, free: 4.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004925/1.705, allocations: 5.057 MB / 0.5791 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/1.706, allocations: 1.482 MB / 0.5806 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/1.708, allocations: 1.393 MB / 0.5819 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/1.71, allocations: 1.736 MB / 0.5836 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002422/1.71, allocations: 120 kB / 0.5837 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02508/1.735, allocations: 16.21 MB / 0.5996 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.736, allocations: 0.8681 MB / 0.6004 GB, free: 9.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/1.738, allocations: 1.545 MB / 0.6019 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01898/1.757, allocations: 11.83 MB / 0.6135 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.757, allocations: 0 / 0.6135 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.757, allocations: 4 kB / 0.6135 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.888e-05/1.757, allocations: 0 / 0.6135 GB, free: 12.51 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.01175/1.769, allocations: 4.063 MB / 0.6174 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.769, allocations: 8.031 kB / 0.6174 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005103/1.769, allocations: 394.5 kB / 0.6178 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/1.77, allocations: 320 kB / 0.6181 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/1.772, allocations: 1.324 MB / 0.6194 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/1.772, allocations: 342.2 kB / 0.6197 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/1.772, allocations: 215.8 kB / 0.6199 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/1.778, allocations: 3.847 MB / 0.6237 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.778, allocations: 7.938 kB / 0.6237 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/1.779, allocations: 80 kB / 0.6238 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/1.779, allocations: 123.9 kB / 0.6239 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005862/1.785, allocations: 3.565 MB / 0.6274 GB, free: 13.95 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.01674/1.801, allocations: 15.1 MB / 0.6421 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009202/1.811, allocations: 3.313 MB / 0.6454 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/1.814, allocations: 2.365 MB / 0.6477 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.426/2.24, allocations: 145.1 MB / 0.7894 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004499/2.244, allocations: 2.54 MB / 0.7919 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=491): time 5.51e-06/2.245, allocations: 3.281 kB / 0.7919 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=492): time 0.04815/2.293, allocations: 18.82 MB / 0.8102 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/2.293, allocations: 103.1 kB / 0.8103 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/2.294, allocations: 1.207 MB / 0.8115 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/2.294, allocations: 65.7 kB / 0.8116 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/2.294, allocations: 0.7438 MB / 0.8123 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008166/2.295, allocations: 1.608 MB / 0.8139 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/2.296, allocations: 310.8 kB / 0.8142 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.447e-05/2.296, allocations: 306.2 kB / 0.8145 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/2.298, allocations: 1.857 MB / 0.8163 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/2.301, allocations: 2.262 MB / 0.8185 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005811/2.307, allocations: 4.586 MB / 0.823 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/2.307, allocations: 0 / 0.823 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.01356/2.32, allocations: 7.172 MB / 0.83 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/2.32, allocations: 8 kB / 0.83 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/2.32, allocations: 11.94 kB / 0.83 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06579/2.386, allocations: 12.89 MB / 0.8426 GB, free: 95.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/2.387, allocations: 84.52 kB / 0.8427 GB, free: 95.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/2.399, allocations: 10.25 MB / 0.8527 GB, free: 84.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/2.401, allocations: 179.5 kB / 0.8528 GB, free: 84.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/2.402, allocations: 103.9 kB / 0.8529 GB, free: 84.42 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.001148/2.403, allocations: 0.7573 MB / 0.8537 GB, free: 83.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/2.403, allocations: 224.9 kB / 0.8539 GB, free: 83.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/2.416, allocations: 9.154 MB / 0.8628 GB, free: 74.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0105/2.427, allocations: 7.219 MB / 0.8699 GB, free: 66.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/2.427, allocations: 7.938 kB / 0.8699 GB, free: 66.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/2.427, allocations: 19.92 kB / 0.8699 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/2.452, allocations: 15.38 MB / 0.8849 GB, free: 51.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/2.452, allocations: 4 kB / 0.8849 GB, free: 51.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005684/2.457, allocations: 1.249 MB / 0.8861 GB, free: 49.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02815/2.486, allocations: 5.895 MB / 0.8919 GB, free: 43.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000742/2.486, allocations: 107.9 kB / 0.892 GB, free: 43.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/2.501, allocations: 23.41 MB / 0.9149 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.501, allocations: 3.938 kB / 0.9149 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/2.519, allocations: 11.03 MB / 0.9256 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/2.521, allocations: 0.7855 MB / 0.9264 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/2.521, allocations: 79.98 kB / 0.9265 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/2.523, allocations: 203.3 kB / 0.9267 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/2.523, allocations: 262.7 kB / 0.9269 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/2.524, allocations: 127.9 kB / 0.9271 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008833/2.524, allocations: 0.863 MB / 0.9279 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.21e-07/2.524, allocations: 0 / 0.9279 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004339/2.529, allocations: 1.933 MB / 0.9298 GB, free: 3.547 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.2011/2.73, allocations: 13.35 MB / 0.9428 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01568/2.746, allocations: 7.76 MB / 0.9504 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/2.746, allocations: 2.531 kB / 0.9504 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007646/2.753, allocations: 4.567 MB / 0.9549 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006634/2.76, allocations: 1.263 MB / 0.9561 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05402/2.814, allocations: 35.25 MB / 0.9905 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/2.816, allocations: 2.445 MB / 0.9929 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001495/2.817, allocations: 469.6 kB / 0.9933 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/2.818, allocations: 1.433 MB / 0.9947 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/2.818, allocations: 4 kB / 0.9948 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3498/3.168, allocations: 158.7 MB / 1.15 GB, free: 203.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/3.168, allocations: 270.2 kB / 1.15 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/11.28, allocations: 0.7812 kB / 1.15 GB, free: 203.4 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestDynamicCondenser_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestDynamicCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicCondenser.pipe 2>&1)