Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.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.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.838/0.838, allocations: 150.8 MB / 166.1 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.538e-05/1.532e-05, allocations: 0 / 204.8 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2093, allocations: 31.98 MB / 236.8 MB, free: 5.383 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.TestDynamicOnePhaseFlowShell): time 1.716/1.925, allocations: 294.7 MB / 0.519 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6038/2.529, allocations: 194.4 MB / 0.7089 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007894/2.53, allocations: 12.23 kB / 0.7089 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/2.53, allocations: 98.91 kB / 0.709 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/2.532, allocations: 427.8 kB / 0.7094 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03528/2.567, allocations: 10.88 MB / 0.7201 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00491/2.572, allocations: 5.497 MB / 0.7254 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/2.574, allocations: 1.704 MB / 0.7271 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/2.576, allocations: 1.367 MB / 0.7284 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/2.578, allocations: 2.034 MB / 0.7304 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004293/2.579, allocations: 197.2 kB / 0.7306 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03853/2.617, allocations: 19.87 MB / 0.75 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/2.62, allocations: 1.303 MB / 0.7513 GB, free: 0 / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005623/2.626, allocations: 1.595 MB / 0.7528 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03837/2.664, allocations: 13.73 MB / 0.7662 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/2.664, allocations: 4 kB / 0.7662 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.997e-06/2.664, allocations: 0 / 0.7662 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002726/2.664, allocations: 0 / 0.7662 GB, free: 10.59 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01995/2.684, allocations: 4.025 MB / 0.7702 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/2.684, allocations: 9.125 kB / 0.7702 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/2.687, allocations: 282.9 kB / 0.7705 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004522/2.691, allocations: 1.282 MB / 0.7717 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/2.691, allocations: 205.5 kB / 0.7719 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/2.693, allocations: 288 kB / 0.7722 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/2.707, allocations: 4.965 MB / 0.777 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/2.707, allocations: 12.72 kB / 0.777 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009398/2.708, allocations: 115.4 kB / 0.7771 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.935e-05/2.708, allocations: 75.92 kB / 0.7772 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/2.727, allocations: 12.25 MB / 0.7892 GB, free: 8.824 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.03197/2.759, allocations: 20.47 MB / 0.8092 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009251/2.768, allocations: 4.062 MB / 0.8131 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004906/2.773, allocations: 2.297 MB / 0.8154 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9332/3.707, allocations: 350.7 MB / 1.158 GB, free: 261.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/3.707, allocations: 72.09 kB / 1.158 GB, free: 261.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=330): time 7.173e-06/3.707, allocations: 0 / 1.158 GB, free: 261.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=330): time 0.024/3.731, allocations: 9.34 MB / 1.167 GB, free: 254 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/3.731, allocations: 111.7 kB / 1.167 GB, free: 253.9 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/3.732, allocations: 1.105 MB / 1.168 GB, free: 253.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006694/3.733, allocations: 85.2 kB / 1.168 GB, free: 253 MB / 0.795 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 sinkP.P0 has fixed = false and a binding equation sinkP.P0 = 1900000.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.0004797/3.733, allocations: 0.7704 MB / 1.169 GB, free: 252.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/3.735, allocations: 1.186 MB / 1.17 GB, free: 251.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/3.735, allocations: 318.5 kB / 1.171 GB, free: 251.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/3.735, allocations: 307.4 kB / 1.171 GB, free: 250.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/3.739, allocations: 2.171 MB / 1.173 GB, free: 249.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/3.743, allocations: 2.952 MB / 1.176 GB, free: 246 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.08737/3.83, allocations: 18.04 MB / 1.193 GB, free: 227.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-05/3.83, allocations: 4 kB / 1.193 GB, free: 227.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01797/3.848, allocations: 6.866 MB / 1.2 GB, free: 221 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/3.848, allocations: 16 kB / 1.2 GB, free: 221 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/3.848, allocations: 20 kB / 1.2 GB, free: 221 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03139/3.88, allocations: 5.573 MB / 1.206 GB, free: 215.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006313/3.886, allocations: 0.9205 MB / 1.207 GB, free: 214.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008348/3.894, allocations: 4.632 MB / 1.211 GB, free: 210 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/3.898, allocations: 424.8 kB / 1.211 GB, free: 209.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000969/3.899, allocations: 199.9 kB / 1.212 GB, free: 209.3 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.dynamicOnePhaseFlowPipeShell.Q[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,dynamicOnePhaseFlowPipeShell.fluid,sinkP.fluid,dynamicOnePhaseFlowPipeShell.C1.diff_on_2,dynamicOnePhaseFlowPipeShell.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 323 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(21,130)} Notification: Performance of prepare postOptimizeDAE: time 0.002293/3.902, allocations: 0.6844 MB / 1.212 GB, free: 208.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009254/3.903, allocations: 205.7 kB / 1.213 GB, free: 208.4 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/3.918, allocations: 6.582 MB / 1.219 GB, free: 201.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/3.918, allocations: 32 kB / 1.219 GB, free: 201.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/3.918, allocations: 4 kB / 1.219 GB, free: 201.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/3.918, allocations: 17.75 kB / 1.219 GB, free: 201.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/3.935, allocations: 9.382 MB / 1.228 GB, free: 192.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/3.935, allocations: 7.969 kB / 1.228 GB, free: 192.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005242/3.94, allocations: 0.8349 MB / 1.229 GB, free: 191.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003971/3.944, allocations: 1.067 MB / 1.23 GB, free: 190.3 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/3.945, allocations: 151.9 kB / 1.23 GB, free: 190.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/3.962, allocations: 27.98 MB / 1.258 GB, free: 159.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/3.962, allocations: 0.5625 kB / 1.258 GB, free: 159.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/3.981, allocations: 8.13 MB / 1.265 GB, free: 151.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/3.984, allocations: 0.8021 MB / 1.266 GB, free: 150.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/3.985, allocations: 91.97 kB / 1.266 GB, free: 150.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003156/3.988, allocations: 155.7 kB / 1.266 GB, free: 150.3 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/3.989, allocations: 342 kB / 1.267 GB, free: 149.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007205/3.99, allocations: 139.8 kB / 1.267 GB, free: 149.8 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001052/3.991, allocations: 0.7294 MB / 1.268 GB, free: 149.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/3.991, allocations: 0 / 1.268 GB, free: 149.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009146/4, allocations: 2.612 MB / 1.27 GB, free: 146.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 41 (dynamicOnePhaseFlowPipeShell.P[2],dynamicOnePhaseFlowPipeShell.P[3],dynamicOnePhaseFlowPipeShell.P[4],dynamicOnePhaseFlowPipeShell.P[5],dynamicOnePhaseFlowPipeShell.P[6],dynamicOnePhaseFlowPipeShell.P[7],dynamicOnePhaseFlowPipeShell.P[8],dynamicOnePhaseFlowPipeShell.P[9],dynamicOnePhaseFlowPipeShell.P[10],dynamicOnePhaseFlowPipeShell.P[11],dynamicOnePhaseFlowPipeShell.Q[1],dynamicOnePhaseFlowPipeShell.Q[2],dynamicOnePhaseFlowPipeShell.Q[3],dynamicOnePhaseFlowPipeShell.Q[4],dynamicOnePhaseFlowPipeShell.Q[5],dynamicOnePhaseFlowPipeShell.Q[6],dynamicOnePhaseFlowPipeShell.Q[7],dynamicOnePhaseFlowPipeShell.Q[8],dynamicOnePhaseFlowPipeShell.Q[9],dynamicOnePhaseFlowPipeShell.Q[10],dynamicOnePhaseFlowPipeShell.Q[11],dynamicOnePhaseFlowPipeShell.h[2],dynamicOnePhaseFlowPipeShell.h[3],dynamicOnePhaseFlowPipeShell.h[4],dynamicOnePhaseFlowPipeShell.h[5],dynamicOnePhaseFlowPipeShell.h[6],dynamicOnePhaseFlowPipeShell.h[7],dynamicOnePhaseFlowPipeShell.h[8],dynamicOnePhaseFlowPipeShell.h[9],dynamicOnePhaseFlowPipeShell.h[10],dynamicOnePhaseFlowPipeShell.h[11],heatExchangerWall.Tp[1],heatExchangerWall.Tp[2],heatExchangerWall.Tp[3],heatExchangerWall.Tp[4],heatExchangerWall.Tp[5],heatExchangerWall.Tp[6],heatExchangerWall.Tp[7],heatExchangerWall.Tp[8],heatExchangerWall.Tp[9],heatExchangerWall.Tp[10]) * 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 (321): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01053/4.011, allocations: 2.824 MB / 1.273 GB, free: 144.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01305/4.024, allocations: 5.498 MB / 1.278 GB, free: 138.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/4.024, allocations: 0 / 1.278 GB, free: 138.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008942/4.033, allocations: 4.999 MB / 1.283 GB, free: 133.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/4.038, allocations: 442 kB / 1.284 GB, free: 133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/4.055, allocations: 9.348 MB / 1.293 GB, free: 123.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/4.057, allocations: 1.719 MB / 1.294 GB, free: 122.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006776/4.063, allocations: 1.345 MB / 1.296 GB, free: 120.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/4.066, allocations: 303.2 kB / 1.296 GB, free: 120.5 MB / 0.795 GB Notification: Performance of SimCode: time 2.955e-06/4.066, allocations: 0 / 1.296 GB, free: 120.5 MB / 0.795 GB Notification: Performance of Templates: time 0.1262/4.192, allocations: 103.2 MB / 1.397 GB, free: 17.97 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.pipe 2>&1) Environment - environmentSimulation: