Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.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.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestStaticCondenser",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.7977/0.7977, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.436e-05, allocations: 3.938 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 31.98 MB / 236.8 MB, free: 5.395 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.TestStaticCondenser): time 1.577/1.714, allocations: 298.5 MB / 0.5228 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04771/1.762, allocations: 39.75 MB / 0.5616 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.763, allocations: 8 kB / 0.5616 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009045/1.764, allocations: 230.6 kB / 0.5618 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/1.765, allocations: 416.7 kB / 0.5622 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02396/1.789, allocations: 7.851 MB / 0.5699 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/1.791, allocations: 1.576 MB / 0.5714 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/1.792, allocations: 0.5132 MB / 0.5719 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008699/1.793, allocations: 0.5092 MB / 0.5724 GB, free: 6.641 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007456/1.794, allocations: 0.4972 MB / 0.5729 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/1.794, allocations: 40 kB / 0.5729 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02878/1.823, allocations: 18.73 MB / 0.5912 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/1.823, allocations: 167 kB / 0.5914 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007008/1.824, allocations: 0.6232 MB / 0.592 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02108/1.845, allocations: 9.725 MB / 0.6015 GB, free: 8.797 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.845, allocations: 0 / 0.6015 GB, free: 8.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.655e-06/1.845, allocations: 0 / 0.6015 GB, free: 8.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/1.845, allocations: 0 / 0.6015 GB, free: 8.797 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.005856/1.851, allocations: 2.193 MB / 0.6036 GB, free: 6.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.851, allocations: 15.97 kB / 0.6037 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/1.851, allocations: 199.8 kB / 0.6039 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/1.851, allocations: 146.2 kB / 0.604 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/1.852, allocations: 0.4918 MB / 0.6045 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/1.852, allocations: 82.05 kB / 0.6045 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/1.852, allocations: 96 kB / 0.6046 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/1.854, allocations: 1.353 MB / 0.606 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.854, allocations: 7.938 kB / 0.606 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/1.854, allocations: 44 kB / 0.606 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/1.854, allocations: 59.89 kB / 0.6061 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/1.855, allocations: 0.8632 MB / 0.6069 GB, free: 3.027 MB / 494.1 MB 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.005411/1.86, allocations: 7.37 MB / 0.6141 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/1.862, allocations: 0.6368 MB / 0.6147 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/1.862, allocations: 457.2 kB / 0.6152 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.346/2.208, allocations: 89.57 MB / 0.7026 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/2.208, allocations: 46.2 kB / 0.7027 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=182): time 3.266e-06/2.208, allocations: 0 / 0.7027 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.009939/2.218, allocations: 3.317 MB / 0.7059 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/2.218, allocations: 65.97 kB / 0.706 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/2.219, allocations: 0.594 MB / 0.7066 GB, free: 220 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/2.219, allocations: 34.11 kB / 0.7066 GB, free: 220 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:3:3-3:64:writable] Warning: The parameter Puit_condenseur.P0 has fixed = false and a binding equation Puit_condenseur.P0 = 100000.0, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0002676/2.219, allocations: 401 kB / 0.707 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/2.22, allocations: 0.5845 MB / 0.7076 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/2.22, allocations: 150.5 kB / 0.7077 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/2.22, allocations: 342.3 kB / 0.708 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/2.22, allocations: 344.6 kB / 0.7084 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/2.221, allocations: 0.5827 MB / 0.7089 GB, free: 218.9 MB / 0.5762 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.007253/2.228, allocations: 3.127 MB / 0.712 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/2.228, allocations: 0 / 0.712 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002463/2.231, allocations: 1.633 MB / 0.7136 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/2.231, allocations: 12.69 kB / 0.7136 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/2.231, allocations: 6.312 kB / 0.7136 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003153/2.234, allocations: 1.494 MB / 0.715 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/2.234, allocations: 72.72 kB / 0.7151 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/2.238, allocations: 6.578 MB / 0.7215 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/2.239, allocations: 146.7 kB / 0.7217 GB, free: 212.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/2.239, allocations: 39.97 kB / 0.7217 GB, free: 212.5 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Source_condenseur.P = $START.Source_condenseur.P. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 24 (singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,Source_condenseur.C.b,condenseur.Cev.a,condenseur.Cep.a,condenseur.Cvt.a,condenseur.Cex.b,condenseur.Cse.b,condenseur.Cee.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,Puit_condenseur1.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP2.C.b,sourceP1.C.b,sourceP.C.b,Puit_condenseur.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (10,2), (1,3), (1,3), (1,3), (1,3), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003539/2.239, allocations: 250 kB / 0.722 GB, free: 212.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/2.24, allocations: 105.6 kB / 0.7221 GB, free: 212.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/2.243, allocations: 2.855 MB / 0.7248 GB, free: 212 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002414/2.245, allocations: 2.113 MB / 0.7269 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/2.245, allocations: 4.562 kB / 0.7269 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/2.245, allocations: 10.36 kB / 0.7269 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/2.251, allocations: 4.746 MB / 0.7316 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/2.251, allocations: 7.938 kB / 0.7316 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/2.251, allocations: 196.4 kB / 0.7318 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004096/2.255, allocations: 2.262 MB / 0.734 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/2.255, allocations: 33.77 kB / 0.734 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/2.258, allocations: 3.862 MB / 0.7378 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/2.258, allocations: 3.938 kB / 0.7378 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/2.26, allocations: 2.29 MB / 0.74 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/2.261, allocations: 338.8 kB / 0.7403 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/2.261, allocations: 30.62 kB / 0.7404 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/2.261, allocations: 50.59 kB / 0.7404 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/2.261, allocations: 95.22 kB / 0.7405 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/2.262, allocations: 45.22 kB / 0.7405 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003689/2.262, allocations: 398.9 kB / 0.7409 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.262, allocations: 0 / 0.7409 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003257/2.265, allocations: 1.54 MB / 0.7424 GB, free: 204.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (132): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,3), (1,3), (10,2), (11,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007866/2.273, allocations: 4.602 MB / 0.7469 GB, free: 200.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003389/2.276, allocations: 2.42 MB / 0.7493 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.276, allocations: 4 kB / 0.7493 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/2.278, allocations: 1.261 MB / 0.7505 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/2.281, allocations: 0.6145 MB / 0.7511 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/2.294, allocations: 10.92 MB / 0.7618 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/2.295, allocations: 1.342 MB / 0.7631 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004752/2.296, allocations: 123 kB / 0.7632 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/2.296, allocations: 0.6282 MB / 0.7638 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/2.296, allocations: 0 / 0.7638 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09407/2.39, allocations: 80.73 MB / 0.8427 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/2.39, allocations: 271.9 kB / 0.8429 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.097/7.488, allocations: 0 / 0.8429 GB, free: 104.1 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_HeatExchanger_TestStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe 2>&1)