Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.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.TestTankHorizontal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8719/0.8719, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.527e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 31.97 MB / 236.8 MB, free: 5.43 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.TestTankHorizontal): time 1.84/2.085, allocations: 296.5 MB / 0.5207 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6913/2.777, allocations: 195.2 MB / 0.7114 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/2.778, allocations: 15.44 kB / 0.7114 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003816/2.778, allocations: 105.5 kB / 0.7115 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/2.779, allocations: 351.7 kB / 0.7118 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04376/2.823, allocations: 11.23 MB / 0.7228 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002616/2.826, allocations: 1.616 MB / 0.7243 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008529/2.827, allocations: 0.6735 MB / 0.725 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/2.827, allocations: 0.5444 MB / 0.7255 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/2.828, allocations: 0.6198 MB / 0.7261 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/2.828, allocations: 70.12 kB / 0.7262 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05123/2.879, allocations: 23.33 MB / 0.749 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005517/2.88, allocations: 253.6 kB / 0.7492 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/2.881, allocations: 0.6304 MB / 0.7498 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04308/2.924, allocations: 12.74 MB / 0.7623 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/2.924, allocations: 3.594 kB / 0.7623 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.026e-06/2.924, allocations: 1.859 kB / 0.7623 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.316e-05/2.924, allocations: 0 / 0.7623 GB, free: 12.39 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.01038/2.935, allocations: 2.857 MB / 0.7651 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/2.935, allocations: 9.125 kB / 0.7651 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/2.935, allocations: 159.8 kB / 0.7653 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/2.937, allocations: 0.6318 MB / 0.7659 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/2.937, allocations: 132.3 kB / 0.766 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/2.937, allocations: 126.2 kB / 0.7661 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/2.94, allocations: 1.398 MB / 0.7675 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/2.94, allocations: 9.906 kB / 0.7675 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/2.94, allocations: 50.19 kB / 0.7675 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/2.94, allocations: 33.38 kB / 0.7676 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/2.943, allocations: 1.36 MB / 0.7689 GB, free: 9.391 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.02734/2.97, allocations: 19.15 MB / 0.7876 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/2.972, allocations: 0.8073 MB / 0.7884 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/2.973, allocations: 375.4 kB / 0.7887 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065/4.038, allocations: 353.6 MB / 1.134 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/4.038, allocations: 38.94 kB / 1.134 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=66): time 3.035e-06/4.038, allocations: 0 / 1.134 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.009384/4.047, allocations: 3.442 MB / 1.137 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/4.047, allocations: 59.97 kB / 1.138 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/4.048, allocations: 0.7782 MB / 1.138 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/4.048, allocations: 37.58 kB / 1.138 GB, free: 313.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/4.049, allocations: 0.5644 MB / 1.139 GB, free: 313.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/4.049, allocations: 247.2 kB / 1.139 GB, free: 313 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/4.049, allocations: 108.7 kB / 1.139 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/4.049, allocations: 389.9 kB / 1.14 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00078/4.05, allocations: 382.7 kB / 1.14 GB, free: 312.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008795/4.051, allocations: 0.7234 MB / 1.141 GB, free: 311.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/4.053, allocations: 1.133 MB / 1.142 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/4.053, allocations: 4 kB / 1.142 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003579/4.056, allocations: 1.636 MB / 1.143 GB, free: 309.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/4.056, allocations: 16.03 kB / 1.143 GB, free: 309.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/4.056, allocations: 15.94 kB / 1.143 GB, free: 309.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00555/4.062, allocations: 1.175 MB / 1.145 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/4.062, allocations: 191.5 kB / 1.145 GB, free: 307.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/4.065, allocations: 3.266 MB / 1.148 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009785/4.066, allocations: 76 kB / 1.148 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/4.066, allocations: 59.72 kB / 1.148 GB, free: 304.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 19 (Tank1.Cs1.ftype,Tank1.Cs2.ftype,Tank1.Ce2.ftype,Tank1.Ce2.diff_on_1,SourceP1.C.ftype,Tank1.fluids[1],VanneReglante1.C2.diff_on_1,PerteDP1.fluid,VanneReglante1.fluid,PuitsP1.fluid,PerteDP2.fluid,PuitsP2.fluid,Tank1.fluid1,SourceP1.fluid1,Tank1.Cs1.diff_on_1,Tank1.Cs2.diff_on_1,Tank1.Ce2.diff_on_2,Tank1.Ce1.diff_on_2,SourceP1.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,1), (2,5), (2,6), (2,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000509/4.067, allocations: 272.3 kB / 1.148 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/4.067, allocations: 99.48 kB / 1.148 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/4.071, allocations: 1.409 MB / 1.15 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/4.071, allocations: 8 kB / 1.15 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/4.071, allocations: 4 kB / 1.15 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/4.071, allocations: 10.17 kB / 1.15 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/4.072, allocations: 0.9099 MB / 1.151 GB, free: 302.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/4.072, allocations: 3.938 kB / 1.151 GB, free: 302.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/4.072, allocations: 91.83 kB / 1.151 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/4.077, allocations: 0.9398 MB / 1.152 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/4.077, allocations: 23.61 kB / 1.152 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/4.079, allocations: 3.285 MB / 1.155 GB, free: 298.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/4.079, allocations: 0 / 1.155 GB, free: 298.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/4.083, allocations: 1.774 MB / 1.157 GB, free: 297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/4.084, allocations: 244.6 kB / 1.157 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/4.084, allocations: 15.5 kB / 1.157 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/4.085, allocations: 59.27 kB / 1.157 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/4.085, allocations: 64.36 kB / 1.157 GB, free: 296.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/4.085, allocations: 31.86 kB / 1.157 GB, free: 296.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006135/4.086, allocations: 0.4924 MB / 1.158 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/4.086, allocations: 0 / 1.158 GB, free: 296.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.009631/4.095, allocations: 2.935 MB / 1.16 GB, free: 293.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Tank1.z,Tank1.h) * 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 (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,1), (2,8), (2,7), (2,8), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01668/4.112, allocations: 3.984 MB / 1.164 GB, free: 290.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003466/4.116, allocations: 1.083 MB / 1.165 GB, free: 289.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/4.116, allocations: 0 / 1.165 GB, free: 289.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/4.117, allocations: 0.5723 MB / 1.166 GB, free: 288.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/4.119, allocations: 180 kB / 1.166 GB, free: 288.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/4.122, allocations: 2.451 MB / 1.168 GB, free: 286 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/4.123, allocations: 1.056 MB / 1.17 GB, free: 284.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006661/4.124, allocations: 162.8 kB / 1.17 GB, free: 284.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/4.124, allocations: 71.42 kB / 1.17 GB, free: 284.7 MB / 0.8106 GB Notification: Performance of SimCode: time 9.42e-07/4.124, allocations: 0 / 1.17 GB, free: 284.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.09912/4.223, allocations: 84.47 MB / 1.252 GB, free: 201 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.pipe 2>&1) Environment - environmentSimulation: