Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.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.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8893/0.8893, allocations: 150.8 MB / 166.1 MB, free: 15.1 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.549e-05, allocations: 4 kB / 204.8 MB, free: 9.676 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 31.98 MB / 236.8 MB, free: 5.477 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.TestSimpleDynamicCondenser1): time 1.825/2.051, allocations: 297.9 MB / 0.5221 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7021/2.753, allocations: 207.4 MB / 0.7246 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/2.755, allocations: 20.03 kB / 0.7247 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/2.756, allocations: 255.2 kB / 0.7249 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/2.758, allocations: 468 kB / 0.7254 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.05308/2.811, allocations: 13.66 MB / 0.7387 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003264/2.814, allocations: 1.989 MB / 0.7406 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/2.815, allocations: 0.7143 MB / 0.7413 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/2.817, allocations: 0.6665 MB / 0.742 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/2.817, allocations: 0.6729 MB / 0.7426 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/2.818, allocations: 66.28 kB / 0.7427 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06542/2.883, allocations: 29.42 MB / 0.7714 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008229/2.884, allocations: 260.5 kB / 0.7717 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/2.885, allocations: 0.7534 MB / 0.7724 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05825/2.944, allocations: 15.31 MB / 0.7874 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/2.944, allocations: 0 / 0.7874 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.698e-06/2.944, allocations: 0 / 0.7874 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001337/2.944, allocations: 0 / 0.7874 GB, free: 3.883 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: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01392/2.958, allocations: 3.346 MB / 0.7906 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/2.958, allocations: 12.03 kB / 0.7907 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000709/2.959, allocations: 177.8 kB / 0.7908 GB, free: 336 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/2.96, allocations: 0.6666 MB / 0.7915 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/2.961, allocations: 166.1 kB / 0.7916 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/2.961, allocations: 135.9 kB / 0.7918 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/2.965, allocations: 1.737 MB / 0.7935 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/2.965, allocations: 9.156 kB / 0.7935 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/2.965, allocations: 60 kB / 0.7935 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.972e-05/2.965, allocations: 55.97 kB / 0.7936 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/2.968, allocations: 1.363 MB / 0.7949 GB, free: 12.05 MB / 0.6075 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.01866/2.987, allocations: 13.3 MB / 0.8079 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/2.988, allocations: 0.8257 MB / 0.8087 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/2.989, allocations: 0.5585 MB / 0.8092 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9451/3.934, allocations: 379 MB / 1.179 GB, free: 239.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/3.934, allocations: 38.94 kB / 1.179 GB, free: 239.2 MB / 0.795 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/3.934, allocations: 2.078 kB / 1.179 GB, free: 239.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=147): time 0.01307/3.948, allocations: 5.294 MB / 1.185 GB, free: 234.9 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/3.948, allocations: 63.97 kB / 1.185 GB, free: 234.9 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/3.948, allocations: 0.8198 MB / 1.185 GB, free: 234.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/3.949, allocations: 37.33 kB / 1.185 GB, free: 234.2 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Thermal/BoundaryConditions/HeatSource.mo:5:3-6:72:writable] Warning: The parameter heatSource.W0[1] has fixed = false and a binding equation heatSource.W0[1] = 2000000.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/Machines/StaticCentrifugalPump.mo:24:3-25:69:writable] Warning: The parameter staticCentrifugalPump.a1 has fixed = false and a binding equation staticCentrifugalPump.a1 = -88.67, 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.0003381/3.949, allocations: 0.6536 MB / 1.186 GB, free: 233.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/3.949, allocations: 0.492 MB / 1.187 GB, free: 233.2 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/3.949, allocations: 155.9 kB / 1.187 GB, free: 233.1 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/3.949, allocations: 353.6 kB / 1.187 GB, free: 232.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/3.95, allocations: 495.7 kB / 1.188 GB, free: 232.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/3.951, allocations: 1.046 MB / 1.189 GB, free: 231.4 MB / 0.795 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.01087/3.962, allocations: 4.809 MB / 1.193 GB, free: 227.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/3.962, allocations: 8 kB / 1.193 GB, free: 227.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.003806/3.966, allocations: 2.184 MB / 1.195 GB, free: 225.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/3.966, allocations: 12.78 kB / 1.195 GB, free: 225.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/3.966, allocations: 24.81 kB / 1.195 GB, free: 225.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002976/3.969, allocations: 1.076 MB / 1.196 GB, free: 224.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/3.969, allocations: 216.1 kB / 1.197 GB, free: 223.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/3.974, allocations: 4.727 MB / 1.201 GB, free: 219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/3.975, allocations: 79.84 kB / 1.201 GB, free: 218.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/3.975, allocations: 76.55 kB / 1.201 GB, free: 218.8 MB / 0.795 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volumeA.P = $START.volumeA.P stodolaTurbine.proe.x = $START.stodolaTurbine.proe.x. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 24 (volumeA.fluid1,sourcePCaloporteur.fluid1,volumeA.Cs2.ftype,volumeA.Cs1.ftype,volumeA.Ce1.ftype,Condenseur.Cl.ftype,volumeA.fluids[1],sourcePCaloporteur.C.ftype,staticCentrifugalPump.fluid,stodolaTurbine.fluid,Condenseur.fluid_p,puitsPCaloporteur.fluid,volumeA.Cs2.diff_on_1,Condenseur.Cv.diff_on_1,volumeA.Cs1.diff_on_1,volumeA.Ce2.diff_on_2,Condenseur.Cl.diff_on_2,volumeA.Ce1.diff_on_2,volumeA.Cs1.diff_on_2,volumeA.Ce1.diff_on_1,Condenseur.Cl.diff_on_1,staticCentrifugalPump.C2.diff_on_1,Condenseur.Cv.diff_on_2,volumeA.Cs2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 4 systems {(1,5), (1,2), (1,2), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005391/3.975, allocations: 320 kB / 1.202 GB, free: 218.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/3.975, allocations: 122.3 kB / 1.202 GB, free: 218.4 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/3.979, allocations: 2.281 MB / 1.204 GB, free: 216.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003588/3.982, allocations: 1.989 MB / 1.206 GB, free: 214.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/3.982, allocations: 0 / 1.206 GB, free: 214.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/3.982, allocations: 10.69 kB / 1.206 GB, free: 214.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/3.989, allocations: 4.158 MB / 1.21 GB, free: 209.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/3.989, allocations: 0 / 1.21 GB, free: 209.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/3.989, allocations: 147.8 kB / 1.21 GB, free: 209.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/3.993, allocations: 1.156 MB / 1.211 GB, free: 208.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/3.993, allocations: 31.92 kB / 1.211 GB, free: 208.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/3.996, allocations: 4.712 MB / 1.216 GB, free: 203.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/3.997, allocations: 3.938 kB / 1.216 GB, free: 203.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005782/4.002, allocations: 3.096 MB / 1.219 GB, free: 200.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/4.003, allocations: 295.1 kB / 1.219 GB, free: 200.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/4.003, allocations: 16 kB / 1.219 GB, free: 200.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/4.003, allocations: 63.81 kB / 1.219 GB, free: 200.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/4.004, allocations: 68.89 kB / 1.219 GB, free: 200 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/4.004, allocations: 35.98 kB / 1.22 GB, free: 200 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005524/4.004, allocations: 0.5113 MB / 1.22 GB, free: 199.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/4.004, allocations: 0 / 1.22 GB, free: 199.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007601/4.012, allocations: 2.597 MB / 1.223 GB, free: 197.1 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Condenseur.P,Condenseur.hl,Condenseur.hv,Condenseur.Vv) * 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 (93): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 4 systems {(1,5), (1,2), (1,2), (5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01172/4.024, allocations: 3.708 MB / 1.226 GB, free: 194.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003817/4.027, allocations: 2.105 MB / 1.228 GB, free: 192 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/4.027, allocations: 128 / 1.228 GB, free: 192 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/4.029, allocations: 1.117 MB / 1.229 GB, free: 190.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/4.032, allocations: 0.4915 MB / 1.23 GB, free: 190.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/4.037, allocations: 4.008 MB / 1.234 GB, free: 186.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/4.037, allocations: 1.269 MB / 1.235 GB, free: 185.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007215/4.038, allocations: 177.2 kB / 1.235 GB, free: 184.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/4.038, allocations: 87.44 kB / 1.235 GB, free: 184.8 MB / 0.795 GB Notification: Performance of SimCode: time 7.32e-07/4.038, allocations: 0 / 1.235 GB, free: 184.8 MB / 0.795 GB Notification: Performance of Templates: time 0.1027/4.141, allocations: 91.07 MB / 1.324 GB, free: 94.74 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe 2>&1) Environment - environmentSimulation: