Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.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.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9179/0.9179, allocations: 150.8 MB / 166.1 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.695e-05, allocations: 0 / 204.8 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 31.99 MB / 236.8 MB, free: 5.453 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.CentrifugalPump.TestStaticCentrifugalPump): time 1.828/2.041, allocations: 294.9 MB / 0.5192 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2141/2.256, allocations: 182.7 MB / 0.6977 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008741/2.256, allocations: 7.938 kB / 0.6977 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000538/2.257, allocations: 63.47 kB / 0.6977 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/2.259, allocations: 214.4 kB / 0.6979 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4056/2.664, allocations: 8.304 MB / 0.706 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001344/2.666, allocations: 0.9816 MB / 0.707 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/2.666, allocations: 417 kB / 0.7074 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/2.667, allocations: 345.6 kB / 0.7077 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/2.667, allocations: 414.8 kB / 0.7081 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-05/2.667, allocations: 47.34 kB / 0.7082 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03023/2.697, allocations: 16.91 MB / 0.7247 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003423/2.698, allocations: 163 kB / 0.7248 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006682/2.698, allocations: 412.9 kB / 0.7252 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02129/2.72, allocations: 9.074 MB / 0.7341 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/2.72, allocations: 3.219 kB / 0.7341 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.106e-06/2.72, allocations: 3.984 kB / 0.7341 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.859e-05/2.72, allocations: 0 / 0.7341 GB, free: 6.16 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007182/2.727, allocations: 2.119 MB / 0.7362 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/2.727, allocations: 11.31 kB / 0.7362 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/2.727, allocations: 92 kB / 0.7363 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/2.728, allocations: 448.3 kB / 0.7367 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/2.728, allocations: 89.5 kB / 0.7368 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/2.728, allocations: 82.95 kB / 0.7369 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/2.73, allocations: 1.065 MB / 0.7379 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/2.73, allocations: 6.906 kB / 0.7379 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/2.73, allocations: 38.53 kB / 0.7379 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/2.73, allocations: 20.88 kB / 0.738 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/2.733, allocations: 0.9784 MB / 0.7389 GB, free: 3.832 MB / 0.5762 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.004651/2.737, allocations: 5.344 MB / 0.7441 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/2.74, allocations: 0.8241 MB / 0.7449 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/2.741, allocations: 321.3 kB / 0.7453 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3948/3.136, allocations: 182 MB / 0.923 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/3.137, allocations: 414.7 kB / 0.9234 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 2.434e-06/3.137, allocations: 0 / 0.9234 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.009409/3.147, allocations: 2.263 MB / 0.9256 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/3.147, allocations: 173.7 kB / 0.9258 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/3.147, allocations: 0.5129 MB / 0.9263 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/3.147, allocations: 33.08 kB / 0.9263 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/3.148, allocations: 429 kB / 0.9267 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/3.148, allocations: 151.4 kB / 0.9269 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/3.148, allocations: 86.92 kB / 0.9269 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001688/3.148, allocations: 368.8 kB / 0.9273 GB, free: 232 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/3.149, allocations: 308.1 kB / 0.9276 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/3.15, allocations: 0.6893 MB / 0.9283 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007835/3.158, allocations: 2.281 MB / 0.9305 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/3.158, allocations: 4 kB / 0.9305 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003984/3.162, allocations: 1.374 MB / 0.9318 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/3.162, allocations: 12 kB / 0.9319 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/3.162, allocations: 13.75 kB / 0.9319 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/3.165, allocations: 0.6008 MB / 0.9325 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/3.166, allocations: 250.8 kB / 0.9327 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/3.167, allocations: 1.411 MB / 0.9341 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/3.168, allocations: 158 kB / 0.9342 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/3.168, allocations: 47.36 kB / 0.9343 GB, free: 9.691 MB / 0.7794 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,Bache1.Cs2.ftype,Bache1.Cs1.ftype,Bache1.Ce1.ftype,Bache1.fluids[1],$PRE.pulse.T0,StaticCentrifugalPump1.fluid,VanneReglante1.fluid,pulse.T0,Bache1.fluid1,Bache1.Ce2.diff_on_2,VanneReglante1.C2.diff_on_2,Bache1.Cs2.diff_on_2,Bache1.Cs2.diff_on_1,VanneReglante1.C2.diff_on_1,StaticCentrifugalPump1.C2.diff_on_1,Bache1.Cs1.diff_on_1,Bache1.Ce1.diff_on_2,Bache1.Cs1.diff_on_2,Bache1.Ce1.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,15), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004343/3.169, allocations: 237.6 kB / 0.9345 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/3.169, allocations: 63.25 kB / 0.9346 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/3.172, allocations: 0.9213 MB / 0.9355 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/3.172, allocations: 11.94 kB / 0.9355 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/3.172, allocations: 4 kB / 0.9355 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/3.172, allocations: 3.984 kB / 0.9355 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/3.173, allocations: 0.8366 MB / 0.9363 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/3.173, allocations: 10.84 kB / 0.9363 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/3.174, allocations: 155.5 kB / 0.9364 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/3.175, allocations: 405.4 kB / 0.9368 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/3.176, allocations: 15.36 kB / 0.9368 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/3.177, allocations: 1.389 MB / 0.9382 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.177, allocations: 0 / 0.9382 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/3.181, allocations: 1.389 MB / 0.9396 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/3.182, allocations: 178.5 kB / 0.9397 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-05/3.182, allocations: 15.3 kB / 0.9397 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/3.182, allocations: 70.75 kB / 0.9398 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/3.182, allocations: 46.66 kB / 0.9399 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/3.182, allocations: 17.55 kB / 0.9399 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003946/3.183, allocations: 330 kB / 0.9402 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/3.183, allocations: 4 kB / 0.9402 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005097/3.188, allocations: 1.369 MB / 0.9415 GB, free: 3.172 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,17), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008901/3.197, allocations: 1.952 MB / 0.9434 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00304/3.2, allocations: 0.845 MB / 0.9443 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/3.2, allocations: 0 / 0.9443 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/3.201, allocations: 419.2 kB / 0.9447 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/3.202, allocations: 107.2 kB / 0.9448 GB, free: 456 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/3.206, allocations: 1.649 MB / 0.9464 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/3.206, allocations: 0.9058 MB / 0.9473 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004614/3.207, allocations: 92.67 kB / 0.9473 GB, free: 13.83 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/3.207, allocations: 47.17 kB / 0.9474 GB, free: 13.79 MB / 0.795 GB Notification: Performance of SimCode: time 1.102e-06/3.207, allocations: 1.75 kB / 0.9474 GB, free: 13.79 MB / 0.795 GB Notification: Performance of Templates: time 0.2729/3.48, allocations: 45.89 MB / 0.9922 GB, free: 457.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe 2>&1) Environment - environmentSimulation: