Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.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.Examples.SimpleExamples.TestStaticDrum2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticDrum2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticDrum2",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.7904/0.7904, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.498e-05, allocations: 4 kB / 204.9 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 31.98 MB / 236.8 MB, free: 5.402 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.SimpleExamples.TestStaticDrum2): time 1.51/1.647, allocations: 296.5 MB / 0.5209 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03823/1.685, allocations: 35.09 MB / 0.5551 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/1.685, allocations: 4 kB / 0.5551 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004159/1.686, allocations: 175 kB / 0.5553 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/1.686, allocations: 230.2 kB / 0.5555 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01621/1.702, allocations: 6.8 MB / 0.5621 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009807/1.703, allocations: 0.9487 MB / 0.5631 GB, free: 244 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/1.704, allocations: 333.5 kB / 0.5634 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/1.704, allocations: 310.4 kB / 0.5637 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/1.704, allocations: 302.3 kB / 0.564 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/1.705, allocations: 28 kB / 0.564 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02334/1.728, allocations: 15.85 MB / 0.5795 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/1.728, allocations: 115.4 kB / 0.5796 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/1.728, allocations: 387.7 kB / 0.58 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/1.741, allocations: 8.311 MB / 0.5881 GB, free: 6.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.741, allocations: 0 / 0.5881 GB, free: 6.582 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/1.741, allocations: 0 / 0.5881 GB, free: 6.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/1.741, allocations: 0 / 0.5881 GB, free: 6.582 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003432/1.745, allocations: 1.693 MB / 0.5897 GB, free: 4.836 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.745, allocations: 8.031 kB / 0.5897 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/1.745, allocations: 136 kB / 0.5899 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/1.745, allocations: 94.81 kB / 0.59 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/1.746, allocations: 362.7 kB / 0.5903 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/1.746, allocations: 62 kB / 0.5904 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/1.746, allocations: 68 kB / 0.5904 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.747, allocations: 0.9237 MB / 0.5913 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.747, allocations: 0 / 0.5913 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/1.747, allocations: 32 kB / 0.5914 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/1.747, allocations: 43.91 kB / 0.5914 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/1.748, allocations: 0.517 MB / 0.5919 GB, free: 2.465 MB / 478.1 MB 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.004025/1.752, allocations: 6.049 MB / 0.5978 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/1.752, allocations: 287.5 kB / 0.5981 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/1.752, allocations: 190.1 kB / 0.5983 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1576/1.91, allocations: 81.16 MB / 0.6775 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.91, allocations: 42.5 kB / 0.6776 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 4.769e-06/1.91, allocations: 3.984 kB / 0.6776 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.00247/1.913, allocations: 1.199 MB / 0.6787 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/1.913, allocations: 59.34 kB / 0.6788 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/1.913, allocations: 437.5 kB / 0.6792 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/1.913, allocations: 33.7 kB / 0.6793 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/1.913, allocations: 331.8 kB / 0.6796 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/1.914, allocations: 268 kB / 0.6798 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/1.914, allocations: 85.66 kB / 0.6799 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.914, allocations: 366.8 kB / 0.6803 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/1.914, allocations: 149.5 kB / 0.6804 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/1.915, allocations: 412.2 kB / 0.6808 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/1.915, allocations: 0.6345 MB / 0.6814 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.915, allocations: 4 kB / 0.6814 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001325/1.917, allocations: 0.8131 MB / 0.6822 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.917, allocations: 8 kB / 0.6822 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.917, allocations: 11.94 kB / 0.6822 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/1.918, allocations: 0.6666 MB / 0.6829 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/1.918, allocations: 55.84 kB / 0.6829 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/1.921, allocations: 3.255 MB / 0.6861 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/1.921, allocations: 98.83 kB / 0.6862 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/1.921, allocations: 32.16 kB / 0.6862 GB, free: 7.766 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 26 (sensorT1.C2.b,sensorT1.C1.a,sinkP2.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,sourcePQ.C.b,sensorT.C2.b,sensorT.C1.a,sinkP1.C.a,singularPressureLossVALI2.C2.b,singularPressureLossVALI2.C1.a,singularPressureLossVALI1.C2.b,singularPressureLossVALI1.C1.a,StaticDrumTh1.Ce_sup.a,StaticDrumTh1.Ce_steam.a,StaticDrumTh1.Cs_purg.b,StaticDrumTh1.Cs_sur.b,StaticDrumTh1.Cs_eva.b,StaticDrumTh1.Cs_sup.b,StaticDrumTh1.Ce_eco.a,StaticDrumTh1.Ce_eva.a,StaticDrumTh1.Cs_sup.a,StaticDrumTh1.Cs_eva.a,StaticDrumTh1.Ce_eva.b,StaticDrumTh1.Ce_sup.b,StaticDrumTh1.Ce_steam.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/1.921, allocations: 212.8 kB / 0.6864 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/1.921, allocations: 59.19 kB / 0.6865 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.923, allocations: 1.183 MB / 0.6877 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001185/1.924, allocations: 0.8876 MB / 0.6885 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.924, allocations: 0 / 0.6885 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.924, allocations: 0 / 0.6885 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/1.927, allocations: 2.154 MB / 0.6906 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.927, allocations: 0 / 0.6906 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/1.927, allocations: 91.89 kB / 0.6907 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009558/1.928, allocations: 0.6827 MB / 0.6914 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.928, allocations: 12 kB / 0.6914 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1505/2.079, allocations: 3.289 MB / 0.6946 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/2.079, allocations: 0 / 0.6946 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/2.08, allocations: 0.9978 MB / 0.6956 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/2.08, allocations: 204 kB / 0.6958 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/2.08, allocations: 12.44 kB / 0.6958 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/2.081, allocations: 31.41 kB / 0.6958 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/2.081, allocations: 39.16 kB / 0.6959 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/2.081, allocations: 19.94 kB / 0.6959 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002778/2.081, allocations: 290.7 kB / 0.6961 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.081, allocations: 3.094 kB / 0.6962 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00288/2.084, allocations: 1.226 MB / 0.6973 GB, free: 224.6 MB / 0.5762 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 (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005853/2.09, allocations: 3.081 MB / 0.7004 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001368/2.091, allocations: 1.027 MB / 0.7014 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/2.091, allocations: 3.031 kB / 0.7014 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007401/2.092, allocations: 0.5593 MB / 0.7019 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/2.093, allocations: 277.8 kB / 0.7022 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/2.1, allocations: 6.413 MB / 0.7084 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/2.101, allocations: 1.014 MB / 0.7094 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000273/2.101, allocations: 73.11 kB / 0.7095 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/2.101, allocations: 314.2 kB / 0.7098 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/2.101, allocations: 3.719 kB / 0.7098 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06658/2.168, allocations: 55.79 MB / 0.7643 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001222/2.168, allocations: 232.8 kB / 0.7645 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.166/6.334, allocations: 1.125 kB / 0.7645 GB, free: 181.6 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticDrum2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticDrum2.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe 2>&1)