Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.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.SimpleExamples.TestSimpleDynamicCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser",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.8107/0.8107, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.847e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1606, allocations: 31.99 MB / 236.8 MB, free: 5.363 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.SimpleExamples.TestSimpleDynamicCondenser): time 1.622/1.783, allocations: 298.3 MB / 0.5226 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5608/2.344, allocations: 194.9 MB / 0.7129 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008871/2.345, allocations: 19.03 kB / 0.7129 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006666/2.346, allocations: 195.3 kB / 0.7131 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/2.347, allocations: 419.5 kB / 0.7135 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03095/2.378, allocations: 10.72 MB / 0.724 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002116/2.38, allocations: 1.668 MB / 0.7256 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/2.381, allocations: 0.6742 MB / 0.7262 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/2.382, allocations: 0.5665 MB / 0.7268 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/2.383, allocations: 0.5955 MB / 0.7274 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002725/2.384, allocations: 63.44 kB / 0.7274 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03688/2.42, allocations: 19.59 MB / 0.7466 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005506/2.421, allocations: 227.6 kB / 0.7468 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/2.422, allocations: 0.6795 MB / 0.7474 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02816/2.45, allocations: 11.38 MB / 0.7586 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/2.45, allocations: 5.688 kB / 0.7586 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.375e-06/2.45, allocations: 0 / 0.7586 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.672e-05/2.45, allocations: 2.125 kB / 0.7586 GB, free: 13.84 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.008911/2.459, allocations: 2.599 MB / 0.7611 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/2.459, allocations: 8.031 kB / 0.7611 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002576/2.46, allocations: 214.3 kB / 0.7613 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/2.46, allocations: 169.4 kB / 0.7615 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/2.461, allocations: 0.6335 MB / 0.7621 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/2.461, allocations: 102 kB / 0.7622 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/2.461, allocations: 132.1 kB / 0.7623 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/2.463, allocations: 1.466 MB / 0.7637 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/2.463, allocations: 4 kB / 0.7637 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/2.463, allocations: 58.75 kB / 0.7638 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/2.463, allocations: 40.17 kB / 0.7638 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/2.465, allocations: 1.154 MB / 0.765 GB, free: 10.98 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.07632/2.541, allocations: 37.57 MB / 0.8017 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/2.542, allocations: 0.6671 MB / 0.8023 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/2.543, allocations: 439 kB / 0.8027 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8577/3.401, allocations: 348.4 MB / 1.143 GB, free: 307 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/3.401, allocations: 43 kB / 1.143 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 2.595e-06/3.401, allocations: 4 kB / 1.143 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=111): time 0.006531/3.407, allocations: 3.752 MB / 1.147 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/3.407, allocations: 115.2 kB / 1.147 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/3.408, allocations: 0.7138 MB / 1.147 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/3.408, allocations: 33.52 kB / 1.148 GB, free: 303.2 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkQ.mo:6:3-7:65:writable] Warning: The parameter PuitsRechauffeurEau.Q0 has fixed = false and a binding equation PuitsRechauffeurEau.Q0 = 100.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:6:3-6:53:writable] Warning: The parameter PerteChargeCondPompe3.K has fixed = false and a binding equation PerteChargeCondPompe3.K = 0.001, 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.0002753/3.408, allocations: 0.5883 MB / 1.148 GB, free: 302.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/3.409, allocations: 383.6 kB / 1.148 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/3.409, allocations: 132.1 kB / 1.149 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/3.409, allocations: 402 kB / 1.149 GB, free: 301.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/3.409, allocations: 369.5 kB / 1.149 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/3.41, allocations: 0.6989 MB / 1.15 GB, free: 301.1 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.007733/3.418, allocations: 3.038 MB / 1.153 GB, free: 298.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/3.418, allocations: 4 kB / 1.153 GB, free: 298.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003945/3.422, allocations: 1.944 MB / 1.155 GB, free: 297.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/3.422, allocations: 12 kB / 1.155 GB, free: 297.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/3.422, allocations: 8.625 kB / 1.155 GB, free: 297.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/3.426, allocations: 1.559 MB / 1.156 GB, free: 295.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/3.427, allocations: 151.5 kB / 1.157 GB, free: 295.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/3.429, allocations: 4.123 MB / 1.161 GB, free: 291.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/3.43, allocations: 55.72 kB / 1.161 GB, free: 291.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/3.43, allocations: 52.36 kB / 1.161 GB, free: 291.6 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.Condenseur.P = 0.0 PerteChargeCondPompe3.Q = $START.PerteChargeCondPompe3.Q. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 22 (sourcePCaloporteur.C.ftype,Condenseur.Cl.ftype,SourceRechauffeurEau.C.ftype,puitsPCaloporteur.fluid,PerteChargeCondPompe.fluid,PuitsRechauffeurEau.fluid,PerteChargeCondPompe1.fluid,PerteChargeCondPompe2.fluid,PerteChargeCondPompe3.fluid,Condenseur.fluid_p,sourcePCaloporteur.fluid1,SourceRechauffeurEau.fluid1,Condenseur.Cl.diff_on_1,PuitsRechauffeurEau.C.diff_on_1,Condenseur.Cv.diff_on_2,SourceRechauffeurEau.C.diff_on_2,Condenseur.Cee.diff_on_2,sourcePCaloporteur.C.diff_on_2,Condenseur.Cse.diff_on_1,PerteChargeCondPompe1.C2.diff_on_1,PerteChargeCondPompe3.C2.diff_on_1,PerteChargeCondPompe.C1.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3), (1,1), (1,3), (1,5), (1,3), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004144/3.43, allocations: 270 kB / 1.161 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/3.43, allocations: 90.88 kB / 1.161 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/3.433, allocations: 1.665 MB / 1.163 GB, free: 290 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002053/3.435, allocations: 1.293 MB / 1.164 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/3.435, allocations: 4.562 kB / 1.164 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/3.435, allocations: 7.969 kB / 1.164 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/3.439, allocations: 3.031 MB / 1.167 GB, free: 285.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/3.439, allocations: 0 / 1.167 GB, free: 285.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/3.439, allocations: 111.8 kB / 1.167 GB, free: 285.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/3.441, allocations: 0.649 MB / 1.168 GB, free: 284.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/3.442, allocations: 20.56 kB / 1.168 GB, free: 284.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/3.444, allocations: 5.219 MB / 1.173 GB, free: 279.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/3.444, allocations: 0 / 1.173 GB, free: 279.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/3.447, allocations: 2.01 MB / 1.175 GB, free: 277.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/3.448, allocations: 248.1 kB / 1.175 GB, free: 277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/3.448, allocations: 16 kB / 1.175 GB, free: 277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/3.448, allocations: 35.92 kB / 1.175 GB, free: 276.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/3.448, allocations: 64.84 kB / 1.175 GB, free: 276.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/3.448, allocations: 24 kB / 1.175 GB, free: 276.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004814/3.449, allocations: 473.1 kB / 1.176 GB, free: 276.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.449, allocations: 2.906 kB / 1.176 GB, free: 276.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004478/3.453, allocations: 1.745 MB / 1.177 GB, free: 274.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Condenseur.P,Condenseur.hl,Condenseur.hv,Condenseur.Vl) * Number of discrete variables: 2 (sourcePCaloporteur.C.diff_on_2,PerteChargeCondPompe1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(4,1,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (1,3), (1,5), (1,3), (1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009622/3.463, allocations: 4.962 MB / 1.182 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002191/3.465, allocations: 1.328 MB / 1.183 GB, free: 268.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/3.465, allocations: 1.562 kB / 1.183 GB, free: 268.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/3.466, allocations: 0.8276 MB / 1.184 GB, free: 268 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/3.468, allocations: 359.6 kB / 1.185 GB, free: 267.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/3.483, allocations: 10.82 MB / 1.195 GB, free: 256.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/3.483, allocations: 1.152 MB / 1.196 GB, free: 255.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006317/3.484, allocations: 152.8 kB / 1.196 GB, free: 255.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/3.484, allocations: 0.5032 MB / 1.197 GB, free: 254.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.114e-06/3.484, allocations: 4 kB / 1.197 GB, free: 254.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/3.587, allocations: 74.36 MB / 1.269 GB, free: 181.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/3.587, allocations: 306.1 kB / 1.27 GB, free: 181.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.37/8.957, allocations: 0 / 1.27 GB, free: 181.2 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.pipe 2>&1)