Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.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.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7378/0.7378, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.074e-05, allocations: 0 / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 31.97 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.Examples.Book.SimpleExamples.Volume.TestTank): time 1.466/1.606, allocations: 295.7 MB / 0.52 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1716/1.778, allocations: 186.2 MB / 0.7018 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/1.778, allocations: 4 kB / 0.7018 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/1.778, allocations: 151.1 kB / 0.7019 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004821/1.779, allocations: 266 kB / 0.7022 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2976/2.076, allocations: 9.076 MB / 0.7111 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001075/2.077, allocations: 1.122 MB / 0.7121 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/2.078, allocations: 381.8 kB / 0.7125 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/2.078, allocations: 402.7 kB / 0.7129 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/2.079, allocations: 405.3 kB / 0.7133 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/2.079, allocations: 33.59 kB / 0.7133 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03084/2.11, allocations: 20.18 MB / 0.733 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/2.11, allocations: 139.2 kB / 0.7332 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/2.11, allocations: 443 kB / 0.7336 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02003/2.13, allocations: 10.33 MB / 0.7437 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/2.13, allocations: 0 / 0.7437 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/2.13, allocations: 0 / 0.7437 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.227e-06/2.13, allocations: 0 / 0.7437 GB, free: 15.69 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.006277/2.137, allocations: 2.328 MB / 0.7459 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/2.137, allocations: 8.812 kB / 0.7459 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/2.137, allocations: 101.2 kB / 0.746 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/2.137, allocations: 441.4 kB / 0.7465 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.79e-05/2.137, allocations: 78.73 kB / 0.7465 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/2.138, allocations: 72.09 kB / 0.7466 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/2.139, allocations: 1.01 MB / 0.7476 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/2.139, allocations: 5.844 kB / 0.7476 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/2.139, allocations: 24.47 kB / 0.7476 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/2.139, allocations: 35.05 kB / 0.7477 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/2.141, allocations: 0.882 MB / 0.7485 GB, free: 13.29 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.05355/2.195, allocations: 29.94 MB / 0.7778 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/2.197, allocations: 0.852 MB / 0.7786 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009327/2.198, allocations: 465 kB / 0.779 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2803/2.478, allocations: 151.8 MB / 0.9272 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/2.478, allocations: 39 kB / 0.9273 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 2.454e-06/2.478, allocations: 1.859 kB / 0.9273 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.007368/2.486, allocations: 2.499 MB / 0.9297 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/2.486, allocations: 59.78 kB / 0.9298 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/2.486, allocations: 0.5013 MB / 0.9303 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/2.486, allocations: 37.08 kB / 0.9303 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/2.487, allocations: 327.4 kB / 0.9306 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/2.487, allocations: 367.7 kB / 0.931 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/2.487, allocations: 87.09 kB / 0.931 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001185/2.487, allocations: 383.8 kB / 0.9314 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009148/2.488, allocations: 396 kB / 0.9318 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009738/2.489, allocations: 0.5443 MB / 0.9323 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/2.491, allocations: 0.993 MB / 0.9333 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/2.491, allocations: 4 kB / 0.9333 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002826/2.494, allocations: 1.342 MB / 0.9346 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/2.494, allocations: 9.406 kB / 0.9346 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/2.494, allocations: 5.859 kB / 0.9346 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/2.498, allocations: 1.129 MB / 0.9357 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/2.499, allocations: 181.5 kB / 0.9359 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/2.501, allocations: 2.707 MB / 0.9385 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007956/2.502, allocations: 154.2 kB / 0.9387 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/2.502, allocations: 27.55 kB / 0.9387 GB, free: 5.742 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (PuitsP2.C.a,PerteDP2.C2.b,PerteDP2.C1.a,Tank1.Cs1.b,Tank1.Ce2.a,Tank1.Cs2.b,Tank1.Ce1.a,PuitsP1.C.a,SourceP1.C.b,VanneReglante1.C2.b,VanneReglante1.C1.a,PerteDP1.C2.b,PerteDP1.C1.a,Tank1.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,7), (2,6), (2,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002848/2.502, allocations: 212.6 kB / 0.9389 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/2.502, allocations: 74.97 kB / 0.939 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/2.506, allocations: 2.983 MB / 0.9419 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002853/2.509, allocations: 1.337 MB / 0.9432 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/2.509, allocations: 4 kB / 0.9432 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/2.509, allocations: 3.984 kB / 0.9432 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/2.515, allocations: 2.875 MB / 0.946 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.515, allocations: 4 kB / 0.946 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/2.515, allocations: 213.7 kB / 0.9462 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/2.519, allocations: 0.9451 MB / 0.9471 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/2.519, allocations: 23.98 kB / 0.9472 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/2.521, allocations: 2.802 MB / 0.9499 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.521, allocations: 0 / 0.9499 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/2.525, allocations: 2.044 MB / 0.9519 GB, free: 9.867 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/2.525, allocations: 271.5 kB / 0.9522 GB, free: 9.582 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/2.525, allocations: 16 kB / 0.9522 GB, free: 9.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/2.526, allocations: 91.83 kB / 0.9523 GB, free: 9.477 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/2.526, allocations: 64.91 kB / 0.9523 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/2.526, allocations: 31.98 kB / 0.9524 GB, free: 9.383 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004735/2.527, allocations: 462 kB / 0.9528 GB, free: 8.934 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/2.527, allocations: 0 / 0.9528 GB, free: 8.934 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003885/2.531, allocations: 1.631 MB / 0.9544 GB, free: 7.301 MB / 0.795 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,8), (2,9), (2,9), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005663/2.536, allocations: 2.335 MB / 0.9567 GB, free: 5.242 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003384/2.54, allocations: 1.312 MB / 0.9579 GB, free: 3.922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/2.54, allocations: 0 / 0.9579 GB, free: 3.922 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/2.541, allocations: 0.6778 MB / 0.9586 GB, free: 3.254 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/2.543, allocations: 343.5 kB / 0.9589 GB, free: 2.922 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/2.546, allocations: 2.222 MB / 0.9611 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/2.547, allocations: 1.026 MB / 0.9621 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003777/2.547, allocations: 97.08 kB / 0.9622 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/2.547, allocations: 59.42 kB / 0.9623 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/2.547, allocations: 0 / 0.9623 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.2302/2.777, allocations: 59.18 MB / 1.02 GB, free: 443.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.pipe 2>&1) Environment - environmentSimulation: