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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicDrum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicDrum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.947/0.947, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.743e-05, allocations: 4 kB / 204.9 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2727, allocations: 31.98 MB / 236.8 MB, free: 5.422 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 2.024/2.297, allocations: 300.6 MB / 0.5248 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7954/3.093, allocations: 199 MB / 0.7191 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/3.094, allocations: 19.59 kB / 0.7192 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009983/3.095, allocations: 350.8 kB / 0.7195 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003145/3.098, allocations: 0.9381 MB / 0.7204 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04293/3.141, allocations: 11.98 MB / 0.7321 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01169/3.153, allocations: 11.59 MB / 0.7434 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007309/3.16, allocations: 3.618 MB / 0.747 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008563/3.169, allocations: 3.416 MB / 0.7503 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009678/3.179, allocations: 4.396 MB / 0.7546 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003437/3.182, allocations: 389 kB / 0.755 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04939/3.232, allocations: 21.07 MB / 0.7755 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005519/3.237, allocations: 2.38 MB / 0.7779 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01654/3.254, allocations: 3.45 MB / 0.7812 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05816/3.312, allocations: 18.97 MB / 0.7998 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/3.312, allocations: 0 / 0.7998 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/3.312, allocations: 0 / 0.7998 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002963/3.312, allocations: 0 / 0.7998 GB, free: 6.223 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.03726/3.35, allocations: 9.327 MB / 0.8089 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/3.35, allocations: 8.031 kB / 0.8089 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003658/3.353, allocations: 0.9174 MB / 0.8098 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/3.356, allocations: 0.6566 MB / 0.8104 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00583/3.362, allocations: 2.48 MB / 0.8128 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00313/3.365, allocations: 2.32 MB / 0.8151 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/3.367, allocations: 492 kB / 0.8156 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0339/3.401, allocations: 12.61 MB / 0.8279 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/3.401, allocations: 4 kB / 0.8279 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008658/3.402, allocations: 210.5 kB / 0.8281 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/3.402, allocations: 191.9 kB / 0.8283 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04758/3.45, allocations: 17.91 MB / 0.8458 GB, free: 6.734 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.1577/3.608, allocations: 66.28 MB / 0.9105 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03718/3.645, allocations: 13.17 MB / 0.9233 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02449/3.669, allocations: 9.291 MB / 0.9324 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9394/4.609, allocations: 395.6 MB / 1.319 GB, free: 56.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/4.609, allocations: 106 kB / 1.319 GB, free: 56.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1251): time 2.03e-05/4.609, allocations: 0 / 1.319 GB, free: 56.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1251): time 0.07954/4.688, allocations: 31.76 MB / 1.35 GB, free: 25.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/4.689, allocations: 125.1 kB / 1.35 GB, free: 25.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/4.691, allocations: 1.62 MB / 1.352 GB, free: 23.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001837/4.693, allocations: 137.7 kB / 1.352 GB, free: 23.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/4.694, allocations: 1.194 MB / 1.353 GB, free: 22.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004078/4.698, allocations: 4.105 MB / 1.357 GB, free: 18.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002418/4.7, allocations: 0.7996 MB / 1.358 GB, free: 17.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.029e-05/4.7, allocations: 305.1 kB / 1.358 GB, free: 17.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01878/4.719, allocations: 8.101 MB / 1.366 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2433/4.962, allocations: 9.489 MB / 1.375 GB, free: 407.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0421/5.005, allocations: 17.61 MB / 1.392 GB, free: 405.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.887e-05/5.005, allocations: 9.719 kB / 1.392 GB, free: 405.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.05977/5.064, allocations: 23.42 MB / 1.415 GB, free: 402.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/5.065, allocations: 23.31 kB / 1.415 GB, free: 402.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/5.065, allocations: 54.36 kB / 1.415 GB, free: 402.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05219/5.117, allocations: 18.36 MB / 1.433 GB, free: 392.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/5.127, allocations: 2.026 MB / 1.435 GB, free: 390.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04068/5.168, allocations: 30.84 MB / 1.465 GB, free: 358.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/5.18, allocations: 2.075 MB / 1.467 GB, free: 356.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003124/5.183, allocations: 389.8 kB / 1.468 GB, free: 355.8 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.006287/5.19, allocations: 1.508 MB / 1.469 GB, free: 354.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/5.192, allocations: 0.4897 MB / 1.47 GB, free: 353.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05742/5.249, allocations: 26.89 MB / 1.496 GB, free: 326.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05149/5.301, allocations: 23.45 MB / 1.519 GB, free: 303.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.48e-05/5.301, allocations: 6.625 kB / 1.519 GB, free: 303.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002109/5.301, allocations: 51.75 kB / 1.519 GB, free: 303.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1008/5.402, allocations: 43.36 MB / 1.561 GB, free: 259.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001679/5.402, allocations: 29.05 kB / 1.561 GB, free: 259.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009694/5.412, allocations: 2.048 MB / 1.563 GB, free: 257.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06024/5.472, allocations: 19.12 MB / 1.582 GB, free: 238.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002483/5.474, allocations: 291.7 kB / 1.582 GB, free: 238.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0387/5.513, allocations: 29.64 MB / 1.611 GB, free: 207.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.513, allocations: 0 / 1.611 GB, free: 207.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06914/5.582, allocations: 24.65 MB / 1.635 GB, free: 182.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005342/5.588, allocations: 2.024 MB / 1.637 GB, free: 180.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002651/5.59, allocations: 156 kB / 1.637 GB, free: 180.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01075/5.601, allocations: 1.512 MB / 1.639 GB, free: 178.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002739/5.604, allocations: 0.6185 MB / 1.639 GB, free: 178.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002144/5.606, allocations: 355.7 kB / 1.64 GB, free: 177.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001413/5.607, allocations: 1.029 MB / 1.641 GB, free: 176.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/5.608, allocations: 0 / 1.641 GB, free: 176.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.2003/5.808, allocations: 3.962 MB / 1.645 GB, free: 396.8 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.0739/5.882, allocations: 28.12 MB / 1.672 GB, free: 395.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.04544/5.927, allocations: 23.51 MB / 1.695 GB, free: 388.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/5.927, allocations: 0 / 1.695 GB, free: 388.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02447/5.952, allocations: 12.71 MB / 1.707 GB, free: 377.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01205/5.964, allocations: 2.088 MB / 1.709 GB, free: 376.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2368/6.201, allocations: 104.9 MB / 1.812 GB, free: 270.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005319/6.206, allocations: 3.981 MB / 1.816 GB, free: 266.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.008824/6.215, allocations: 1.882 MB / 1.818 GB, free: 264.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005655/6.221, allocations: 2.69 MB / 1.82 GB, free: 262.1 MB / 0.7794 GB Notification: Performance of SimCode: time 8.42e-07/6.221, allocations: 0 / 1.82 GB, free: 262.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7662/6.987, allocations: 299.3 MB / 2.113 GB, free: 211.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/6.987, allocations: 288.4 kB / 2.113 GB, free: 211.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/19.83, allocations: 0 / 2.113 GB, free: 211.3 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicDrum_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicDrum.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.pipe 2>&1)