Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7289/0.7289, allocations: 150.8 MB / 166.1 MB, free: 15.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.61e-05, allocations: 4 kB / 204.8 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 31.98 MB / 236.8 MB, free: 5.426 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.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.39/1.524, allocations: 295.2 MB / 0.5195 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02657/1.55, allocations: 25.7 MB / 0.5446 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/1.55, allocations: 4 kB / 0.5446 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/1.551, allocations: 159.1 kB / 0.5448 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004814/1.551, allocations: 338.1 kB / 0.5451 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01166/1.563, allocations: 5.316 MB / 0.5503 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/1.565, allocations: 2.681 MB / 0.5529 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/1.566, allocations: 0.6118 MB / 0.5535 GB, free: 9.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/1.566, allocations: 0.7513 MB / 0.5542 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008788/1.567, allocations: 0.849 MB / 0.5551 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/1.567, allocations: 60 kB / 0.5551 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01972/1.587, allocations: 15.21 MB / 0.57 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004594/1.588, allocations: 426.7 kB / 0.5704 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008315/1.588, allocations: 0.7131 MB / 0.5711 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.6, allocations: 7.802 MB / 0.5787 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.6, allocations: 0 / 0.5787 GB, free: 15.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.6, allocations: 0 / 0.5787 GB, free: 15.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/1.6, allocations: 0 / 0.5787 GB, free: 15.41 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005943/1.606, allocations: 2.054 MB / 0.5807 GB, free: 13.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/1.606, allocations: 12.03 kB / 0.5807 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/1.606, allocations: 131.2 kB / 0.5808 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/1.607, allocations: 0.5693 MB / 0.5814 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/1.607, allocations: 98 kB / 0.5815 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/1.607, allocations: 107.9 kB / 0.5816 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/1.61, allocations: 1.969 MB / 0.5835 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.61, allocations: 0 / 0.5835 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.61, allocations: 42.25 kB / 0.5836 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/1.61, allocations: 71.94 kB / 0.5836 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/1.613, allocations: 1.906 MB / 0.5855 GB, free: 8.289 MB / 478.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.07188/1.685, allocations: 39.81 MB / 0.6244 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/1.687, allocations: 1.699 MB / 0.626 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.689, allocations: 1.201 MB / 0.6272 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06826/1.757, allocations: 33.95 MB / 0.6603 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/1.757, allocations: 51.75 kB / 0.6604 GB, free: 4.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.096e-06/1.757, allocations: 0 / 0.6604 GB, free: 4.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.02877/1.786, allocations: 7.24 MB / 0.6675 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/1.786, allocations: 72.7 kB / 0.6675 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/1.786, allocations: 357.4 kB / 0.6679 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/1.786, allocations: 45.7 kB / 0.6679 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/1.787, allocations: 283.7 kB / 0.6682 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006259/1.787, allocations: 0.9465 MB / 0.6691 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.787, allocations: 190.7 kB / 0.6693 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/1.787, allocations: 326 kB / 0.6696 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/1.789, allocations: 1.019 MB / 0.6706 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/1.791, allocations: 1.212 MB / 0.6718 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/1.795, allocations: 2.464 MB / 0.6742 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.795, allocations: 0 / 0.6742 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005959/1.801, allocations: 3.737 MB / 0.6778 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.801, allocations: 4 kB / 0.6778 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.801, allocations: 4 kB / 0.6778 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/1.816, allocations: 4.848 MB / 0.6826 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/1.816, allocations: 31.98 kB / 0.6826 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/1.824, allocations: 4.888 MB / 0.6874 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.825, allocations: 189.7 kB / 0.6876 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.825, allocations: 63.94 kB / 0.6876 GB, free: 8.145 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0005466/1.826, allocations: 367.7 kB / 0.688 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.826, allocations: 102.6 kB / 0.6881 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1594/1.985, allocations: 10.92 MB / 0.6987 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005484/1.991, allocations: 4.015 MB / 0.7027 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.991, allocations: 5.844 kB / 0.7027 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.991, allocations: 20.66 kB / 0.7027 GB, free: 228.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/2.004, allocations: 8.242 MB / 0.7107 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/2.004, allocations: 2.875 kB / 0.7107 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/2.005, allocations: 354.3 kB / 0.7111 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006225/2.011, allocations: 2.982 MB / 0.714 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/2.012, allocations: 68.02 kB / 0.714 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005594/2.017, allocations: 6.667 MB / 0.7206 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/2.017, allocations: 0 / 0.7206 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/2.027, allocations: 6.194 MB / 0.7266 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/2.028, allocations: 328.4 kB / 0.7269 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/2.028, allocations: 50.27 kB / 0.727 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000993/2.029, allocations: 84.61 kB / 0.7271 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/2.029, allocations: 172 kB / 0.7272 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/2.029, allocations: 84.34 kB / 0.7273 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000343/2.03, allocations: 396 kB / 0.7277 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.03, allocations: 3.875 kB / 0.7277 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002629/2.032, allocations: 1.356 MB / 0.729 GB, free: 220.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * 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): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003692/2.036, allocations: 1.241 MB / 0.7302 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005675/2.042, allocations: 3.96 MB / 0.7341 GB, free: 217.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/2.042, allocations: 4.938 kB / 0.7341 GB, free: 217.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003336/2.045, allocations: 2.165 MB / 0.7362 GB, free: 215.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/2.049, allocations: 0.8583 MB / 0.737 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007631/2.056, allocations: 6.083 MB / 0.743 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/2.057, allocations: 1.534 MB / 0.7445 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008095/2.058, allocations: 314.5 kB / 0.7448 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/2.058, allocations: 107.3 kB / 0.7449 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/2.058, allocations: 0 / 0.7449 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.0814/2.14, allocations: 80.5 MB / 0.8235 GB, free: 128.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) Environment - environmentSimulation: