Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_HeatExchanger_TestStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_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.7507/0.7507, allocations: 150.8 MB / 166.1 MB, free: 15.19 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.644e-05, allocations: 0 / 204.9 MB, free: 9.574 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1499, allocations: 31.98 MB / 236.9 MB, free: 5.32 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.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser): time 1.4/1.55, allocations: 299.7 MB / 0.524 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3963/1.947, allocations: 191.5 MB / 0.711 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005765/1.947, allocations: 28.47 kB / 0.711 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004457/1.948, allocations: 236.6 kB / 0.7112 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00092/1.949, allocations: 0.5574 MB / 0.7118 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02246/1.971, allocations: 9.941 MB / 0.7215 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001871/1.973, allocations: 2.083 MB / 0.7235 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007852/1.974, allocations: 0.9613 MB / 0.7244 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006319/1.975, allocations: 0.7045 MB / 0.7251 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/1.975, allocations: 0.7607 MB / 0.7259 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/1.975, allocations: 75.59 kB / 0.726 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02857/2.004, allocations: 21.52 MB / 0.747 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/2.004, allocations: 287.8 kB / 0.7472 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009991/2.005, allocations: 0.8894 MB / 0.7481 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02111/2.026, allocations: 12.12 MB / 0.7599 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/2.026, allocations: 0 / 0.7599 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/2.026, allocations: 0 / 0.7599 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.698e-05/2.026, allocations: 0 / 0.7599 GB, free: 12.66 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.005647/2.032, allocations: 2.908 MB / 0.7628 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/2.032, allocations: 9.375 kB / 0.7628 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002443/2.032, allocations: 282.8 kB / 0.7631 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/2.033, allocations: 228.2 kB / 0.7633 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/2.033, allocations: 0.8023 MB / 0.7641 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/2.034, allocations: 149.3 kB / 0.7642 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/2.034, allocations: 184.5 kB / 0.7644 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/2.036, allocations: 1.922 MB / 0.7663 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/2.036, allocations: 5.375 kB / 0.7663 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/2.036, allocations: 92.62 kB / 0.7664 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/2.036, allocations: 55.84 kB / 0.7664 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/2.038, allocations: 1.297 MB / 0.7677 GB, free: 9.254 MB / 0.5919 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.2065/2.245, allocations: 103.4 MB / 0.8687 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/2.246, allocations: 0.6531 MB / 0.8693 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/2.246, allocations: 326.5 kB / 0.8696 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5602/2.806, allocations: 241.8 MB / 1.106 GB, free: 347.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/2.807, allocations: 44.03 kB / 1.106 GB, free: 347.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=97): time 2.394e-06/2.807, allocations: 0 / 1.106 GB, free: 347.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=97): time 0.008251/2.815, allocations: 2.725 MB / 1.108 GB, free: 345 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/2.815, allocations: 162.7 kB / 1.109 GB, free: 344.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/2.816, allocations: 0.9491 MB / 1.11 GB, free: 344.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/2.816, allocations: 37.27 kB / 1.11 GB, free: 344.1 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:8:3-8: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.0003203/2.816, allocations: 0.8556 MB / 1.11 GB, free: 343.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/2.816, allocations: 345.8 kB / 1.111 GB, free: 343.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/2.816, allocations: 168.3 kB / 1.111 GB, free: 343.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.731e-05/2.816, allocations: 353.7 kB / 1.111 GB, free: 342.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/2.817, allocations: 345 kB / 1.112 GB, free: 342.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/2.818, allocations: 0.8803 MB / 1.112 GB, free: 341.6 MB / 0.8106 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.006972/2.825, allocations: 3.017 MB / 1.115 GB, free: 338.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/2.825, allocations: 4 kB / 1.115 GB, free: 338.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003483/2.828, allocations: 1.944 MB / 1.117 GB, free: 337.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/2.828, allocations: 19.94 kB / 1.117 GB, free: 337.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/2.828, allocations: 16 kB / 1.117 GB, free: 337.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/2.831, allocations: 1.034 MB / 1.118 GB, free: 336.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/2.831, allocations: 219.5 kB / 1.118 GB, free: 336.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/2.833, allocations: 4.396 MB / 1.123 GB, free: 332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/2.834, allocations: 189.2 kB / 1.123 GB, free: 331.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/2.834, allocations: 71.48 kB / 1.123 GB, free: 331.8 MB / 0.8106 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: 80 * Number of states: 0 () * Number of discrete variables: 35 (Source_condenseur.C.ftype,condenseur.Cex.ftype,sourceP2.C.ftype,sourceP1.C.ftype,sourceP.C.ftype,condenseur.fluids[1],Puit_condenseur.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.fluid_p,singularPressureLoss2.fluid,Source_condenseur.fluid1,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,condenseur.Cex.diff_on_2,singularPressureLoss3.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,1), (1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004944/2.835, allocations: 352.2 kB / 1.123 GB, free: 331.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/2.835, allocations: 111.5 kB / 1.123 GB, free: 331.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/2.837, allocations: 1.516 MB / 1.125 GB, free: 330.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001328/2.838, allocations: 1.111 MB / 1.126 GB, free: 329.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.838, allocations: 0 / 1.126 GB, free: 329.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/2.838, allocations: 11.92 kB / 1.126 GB, free: 329.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/2.842, allocations: 3.332 MB / 1.129 GB, free: 327.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/2.842, allocations: 0 / 1.129 GB, free: 327.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/2.842, allocations: 83.97 kB / 1.129 GB, free: 327.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003127/2.846, allocations: 1.178 MB / 1.131 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/2.846, allocations: 27.98 kB / 1.131 GB, free: 326 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/2.847, allocations: 2.967 MB / 1.133 GB, free: 322.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/2.847, allocations: 0 / 1.133 GB, free: 322.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/2.849, allocations: 1.449 MB / 1.135 GB, free: 321.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/2.85, allocations: 279.1 kB / 1.135 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/2.85, allocations: 21.23 kB / 1.135 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/2.85, allocations: 27.91 kB / 1.135 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/2.85, allocations: 68.78 kB / 1.135 GB, free: 321 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/2.85, allocations: 28 kB / 1.135 GB, free: 321 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005955/2.851, allocations: 0.5806 MB / 1.136 GB, free: 320.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/2.851, allocations: 0 / 1.136 GB, free: 320.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003903/2.855, allocations: 1.919 MB / 1.138 GB, free: 318.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Source_condenseur.C.diff_on_2,singularPressureLoss4.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (1,1), (6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009645/2.865, allocations: 4.317 MB / 1.142 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002911/2.868, allocations: 1.268 MB / 1.143 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.868, allocations: 3 kB / 1.143 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/2.869, allocations: 0.5585 MB / 1.144 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/2.871, allocations: 425.5 kB / 1.144 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/2.889, allocations: 12.21 MB / 1.156 GB, free: 299.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/2.889, allocations: 1.278 MB / 1.157 GB, free: 298.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000699/2.89, allocations: 186.7 kB / 1.157 GB, free: 298.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/2.891, allocations: 0.6399 MB / 1.158 GB, free: 297.4 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/2.891, allocations: 0 / 1.158 GB, free: 297.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.705/9.596, allocations: 77.74 MB / 1.234 GB, free: 221 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/9.596, allocations: 318.7 kB / 1.234 GB, free: 220.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.851/15.45, allocations: 0 / 1.234 GB, free: 220.6 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_HeatExchanger_TestStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_HeatExchanger_TestStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe 2>&1)