Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.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.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9007/0.9007, allocations: 150.8 MB / 166.1 MB, free: 15.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.829e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 31.97 MB / 236.8 MB, free: 5.32 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.TestDynamicDrum): time 1.883/2.107, allocations: 299.6 MB / 0.5238 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7258/2.833, allocations: 199 MB / 0.7181 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/2.835, allocations: 22.84 kB / 0.7181 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/2.836, allocations: 350.3 kB / 0.7185 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/2.839, allocations: 0.9378 MB / 0.7194 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04555/2.885, allocations: 11.98 MB / 0.7311 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01384/2.898, allocations: 11.59 MB / 0.7424 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008517/2.907, allocations: 3.618 MB / 0.7459 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/2.917, allocations: 3.411 MB / 0.7493 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/2.929, allocations: 4.402 MB / 0.7536 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00481/2.934, allocations: 388.1 kB / 0.7539 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05759/2.991, allocations: 21.06 MB / 0.7745 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00625/2.998, allocations: 2.38 MB / 0.7768 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01329/3.011, allocations: 3.451 MB / 0.7802 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.06604/3.077, allocations: 18.97 MB / 0.7987 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.31e-05/3.077, allocations: 0 / 0.7987 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.961e-06/3.077, allocations: 0 / 0.7987 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000481/3.078, allocations: 0 / 0.7987 GB, free: 6.352 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1826 * Number of variables: 1826 Notification: Performance of Generate backend data structure: time 0.03906/3.117, allocations: 9.331 MB / 0.8078 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/3.117, allocations: 12.03 kB / 0.8079 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/3.121, allocations: 0.6566 MB / 0.8085 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007571/3.128, allocations: 2.473 MB / 0.8109 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003509/3.132, allocations: 2.332 MB / 0.8132 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002761/3.135, allocations: 484 kB / 0.8137 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/3.17, allocations: 12.61 MB / 0.826 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/3.17, allocations: 2.438 kB / 0.826 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/3.171, allocations: 208 kB / 0.8262 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/3.171, allocations: 195.9 kB / 0.8264 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04898/3.22, allocations: 17.91 MB / 0.8438 GB, free: 7.793 MB / 0.6544 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.1624/3.383, allocations: 66.28 MB / 0.9086 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.039/3.422, allocations: 13.16 MB / 0.9214 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02448/3.446, allocations: 9.287 MB / 0.9305 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9489/4.395, allocations: 395.6 MB / 1.317 GB, free: 57.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/4.396, allocations: 105.3 kB / 1.317 GB, free: 57.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1251): time 3.192e-05/4.396, allocations: 0 / 1.317 GB, free: 57.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1251): time 0.08792/4.484, allocations: 31.76 MB / 1.348 GB, free: 27.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/4.484, allocations: 125.1 kB / 1.348 GB, free: 26.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/4.486, allocations: 1.617 MB / 1.35 GB, free: 25.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.00255/4.489, allocations: 137.7 kB / 1.35 GB, free: 25.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007625/4.49, allocations: 1.196 MB / 1.351 GB, free: 23.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.007204/4.497, allocations: 4.101 MB / 1.355 GB, free: 19.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005112/4.502, allocations: 0.7957 MB / 1.356 GB, free: 19.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/4.502, allocations: 305.1 kB / 1.356 GB, free: 18.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02035/4.522, allocations: 8.101 MB / 1.364 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02245/4.545, allocations: 9.497 MB / 1.373 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2929/4.838, allocations: 17.6 MB / 1.39 GB, free: 405.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-05/4.838, allocations: 11.34 kB / 1.39 GB, free: 405.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.05767/4.896, allocations: 23.42 MB / 1.413 GB, free: 403 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/4.896, allocations: 23.84 kB / 1.413 GB, free: 403 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/4.896, allocations: 49.89 kB / 1.413 GB, free: 403 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05229/4.948, allocations: 18.37 MB / 1.431 GB, free: 393.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/4.959, allocations: 2.017 MB / 1.433 GB, free: 391.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03644/4.995, allocations: 30.84 MB / 1.463 GB, free: 359.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/5.007, allocations: 2.075 MB / 1.465 GB, free: 357.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00289/5.01, allocations: 389.8 kB / 1.466 GB, free: 356.9 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 29 (Drum.Cv.ftype,sourceP.C.ftype,Drum.Cd.ftype,TubeEcranBoucleEvaporatoire.C1.diff_on_2,Drum.Cd.diff_on_1,TubeEcranBoucleEvaporatoire.C2.diff_on_1,Drum.Cm.diff_on_2,Drum.Cs.ftype,Drum.Cs.diff_on_2,Drum.Ce3.ftype,Drum.Ce3.diff_on_1,Drum.Ce2.ftype,Drum.Ce2.diff_on_1,Drum.fluids[1],feedwaterValve.C2.diff_on_1,Drum.Cv.diff_on_2,feedwaterValve.fluid,steamValve.fluid,TubeEcranBoucleEvaporatoire.fluid,lumpedStraightPipe.fluid,sinkQ.fluid,sourceP.fluid1,Drum.Cv.diff_on_1,steamValve.C2.diff_on_1,Drum.Ce1.diff_on_2,sourceP.C.diff_on_2,Drum.Cs.diff_on_1,Drum.Ce3.diff_on_2,Drum.Ce2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (511): * Single equations (assignments): 475 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (25,324)} Notification: Performance of prepare postOptimizeDAE: time 0.005717/5.016, allocations: 1.502 MB / 1.467 GB, free: 355.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/5.018, allocations: 0.4897 MB / 1.468 GB, free: 354.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0604/5.078, allocations: 26.9 MB / 1.494 GB, free: 328 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05686/5.135, allocations: 23.45 MB / 1.517 GB, free: 304.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/5.135, allocations: 4 kB / 1.517 GB, free: 304.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002443/5.135, allocations: 47.81 kB / 1.517 GB, free: 304.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1003/5.235, allocations: 43.36 MB / 1.559 GB, free: 260.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000172/5.236, allocations: 19.98 kB / 1.559 GB, free: 260.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0101/5.246, allocations: 2.056 MB / 1.561 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05892/5.305, allocations: 19.12 MB / 1.58 GB, free: 239.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003385/5.308, allocations: 289.7 kB / 1.58 GB, free: 239.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03318/5.341, allocations: 29.63 MB / 1.609 GB, free: 208.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/5.341, allocations: 2.188 kB / 1.609 GB, free: 208.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06472/5.406, allocations: 24.65 MB / 1.633 GB, free: 183.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006373/5.413, allocations: 2.024 MB / 1.635 GB, free: 181.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002135/5.415, allocations: 159.4 kB / 1.635 GB, free: 181.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01015/5.425, allocations: 1.506 MB / 1.637 GB, free: 179.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002287/5.427, allocations: 0.6081 MB / 1.637 GB, free: 179.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001087/5.428, allocations: 355.7 kB / 1.638 GB, free: 178.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001289/5.43, allocations: 1.029 MB / 1.639 GB, free: 177.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/5.43, allocations: 8 kB / 1.639 GB, free: 177.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.2724/5.702, allocations: 3.968 MB / 1.643 GB, free: 395.6 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (597): * Single equations (assignments): 563 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (28,343)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01508/5.717, allocations: 2.973 MB / 1.646 GB, free: 395.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.05526/5.772, allocations: 23.51 MB / 1.669 GB, free: 391.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/5.772, allocations: 0 / 1.669 GB, free: 391.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02877/5.801, allocations: 12.72 MB / 1.681 GB, free: 389.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01248/5.814, allocations: 2.083 MB / 1.683 GB, free: 389.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06602/5.88, allocations: 29.16 MB / 1.711 GB, free: 374.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/5.883, allocations: 3.997 MB / 1.715 GB, free: 371.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.007982/5.891, allocations: 1.878 MB / 1.717 GB, free: 370.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/5.894, allocations: 0.5341 MB / 1.718 GB, free: 369.7 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/5.894, allocations: 3.938 kB / 1.718 GB, free: 369.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.5902/6.484, allocations: 238.5 MB / 1.951 GB, free: 370 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.pipe 2>&1) Environment - environmentSimulation: