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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9343/0.9343, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.102e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 31.98 MB / 236.8 MB, free: 5.434 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.75/1.954, allocations: 297.3 MB / 0.5215 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5608/2.515, allocations: 194.9 MB / 0.7118 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007886/2.516, allocations: 24.88 kB / 0.7119 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/2.516, allocations: 195.4 kB / 0.7121 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009842/2.517, allocations: 414.7 kB / 0.7125 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03665/2.554, allocations: 10.73 MB / 0.7229 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002227/2.556, allocations: 1.663 MB / 0.7245 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/2.557, allocations: 0.6817 MB / 0.7252 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007537/2.558, allocations: 0.5652 MB / 0.7258 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/2.558, allocations: 0.5989 MB / 0.7264 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/2.559, allocations: 64.69 kB / 0.7264 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03623/2.595, allocations: 19.58 MB / 0.7455 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/2.595, allocations: 234.7 kB / 0.7458 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/2.596, allocations: 0.6785 MB / 0.7464 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03415/2.631, allocations: 11.35 MB / 0.7575 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/2.631, allocations: 0 / 0.7575 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.445e-06/2.631, allocations: 0 / 0.7575 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.818e-05/2.631, allocations: 0 / 0.7575 GB, free: 13.73 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.007619/2.638, allocations: 2.603 MB / 0.76 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/2.638, allocations: 8.5 kB / 0.7601 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/2.639, allocations: 169.5 kB / 0.7602 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/2.64, allocations: 0.6387 MB / 0.7608 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/2.64, allocations: 100.8 kB / 0.7609 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/2.64, allocations: 135.7 kB / 0.7611 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/2.643, allocations: 1.461 MB / 0.7625 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/2.643, allocations: 2.906 kB / 0.7625 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/2.643, allocations: 55.66 kB / 0.7626 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/2.643, allocations: 43.14 kB / 0.7626 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/2.645, allocations: 1.161 MB / 0.7637 GB, free: 10.95 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.08148/2.727, allocations: 37.57 MB / 0.8004 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/2.728, allocations: 0.6671 MB / 0.8011 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/2.729, allocations: 437 kB / 0.8015 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8732/3.602, allocations: 348.4 MB / 1.142 GB, free: 307.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/3.602, allocations: 49.88 kB / 1.142 GB, free: 307.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 3.056e-06/3.602, allocations: 0 / 1.142 GB, free: 307.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=111): time 0.007595/3.61, allocations: 3.748 MB / 1.145 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/3.61, allocations: 111.4 kB / 1.146 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/3.611, allocations: 0.7098 MB / 1.146 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/3.611, allocations: 41.58 kB / 1.146 GB, free: 303.7 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.0003358/3.611, allocations: 0.5856 MB / 1.147 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/3.611, allocations: 381.4 kB / 1.147 GB, free: 302.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/3.612, allocations: 132.8 kB / 1.147 GB, free: 302.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/3.612, allocations: 405.7 kB / 1.148 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/3.612, allocations: 370.7 kB / 1.148 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/3.613, allocations: 0.7014 MB / 1.149 GB, free: 301.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.008351/3.621, allocations: 3.039 MB / 1.152 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/3.621, allocations: 4 kB / 1.152 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004467/3.626, allocations: 1.947 MB / 1.154 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/3.626, allocations: 8.562 kB / 1.154 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/3.626, allocations: 12 kB / 1.154 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/3.631, allocations: 1.55 MB / 1.155 GB, free: 296.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/3.631, allocations: 145.8 kB / 1.155 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/3.634, allocations: 4.142 MB / 1.159 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/3.635, allocations: 44.05 kB / 1.159 GB, free: 292.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/3.635, allocations: 54.36 kB / 1.159 GB, free: 292.1 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.0005037/3.635, allocations: 281 kB / 1.16 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/3.635, allocations: 94.78 kB / 1.16 GB, free: 291.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/3.638, allocations: 1.655 MB / 1.161 GB, free: 290.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002134/3.64, allocations: 1.296 MB / 1.163 GB, free: 289 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/3.641, allocations: 3.75 kB / 1.163 GB, free: 289 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/3.641, allocations: 7.984 kB / 1.163 GB, free: 289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/3.645, allocations: 3.026 MB / 1.166 GB, free: 285.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/3.645, allocations: 6.188 kB / 1.166 GB, free: 285.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/3.646, allocations: 111.9 kB / 1.166 GB, free: 285.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/3.648, allocations: 0.6488 MB / 1.166 GB, free: 285.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/3.648, allocations: 23.98 kB / 1.166 GB, free: 285.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/3.651, allocations: 5.215 MB / 1.172 GB, free: 279.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/3.651, allocations: 0.625 kB / 1.172 GB, free: 279.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/3.654, allocations: 2.014 MB / 1.173 GB, free: 277.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/3.655, allocations: 243.7 kB / 1.174 GB, free: 277.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/3.655, allocations: 16 kB / 1.174 GB, free: 277.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/3.655, allocations: 35.83 kB / 1.174 GB, free: 277.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/3.656, allocations: 56.86 kB / 1.174 GB, free: 277.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/3.656, allocations: 31.98 kB / 1.174 GB, free: 277.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005609/3.656, allocations: 471 kB / 1.174 GB, free: 276.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.403e-06/3.656, allocations: 0 / 1.174 GB, free: 276.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005155/3.661, allocations: 1.747 MB / 1.176 GB, free: 275.1 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.009045/3.67, allocations: 2.576 MB / 1.179 GB, free: 272.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003069/3.674, allocations: 1.31 MB / 1.18 GB, free: 271.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/3.674, allocations: 448 / 1.18 GB, free: 271.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/3.675, allocations: 0.8353 MB / 1.181 GB, free: 270.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/3.678, allocations: 356.5 kB / 1.181 GB, free: 270.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/3.682, allocations: 3.117 MB / 1.184 GB, free: 267.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/3.683, allocations: 1.148 MB / 1.185 GB, free: 266.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007523/3.684, allocations: 153.3 kB / 1.185 GB, free: 266 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/3.684, allocations: 71.44 kB / 1.185 GB, free: 265.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.194e-06/3.684, allocations: 3.844 kB / 1.185 GB, free: 265.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.07858/3.763, allocations: 61.81 MB / 1.246 GB, free: 205 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.pipe 2>&1) Environment - environmentSimulation: