Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.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.TestSimpleEvaporatorWaterSteamFlueGases,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases",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.7737/0.7737, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.62e-05, allocations: 4 kB / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1365, allocations: 31.99 MB / 236.8 MB, free: 5.375 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.TestSimpleEvaporatorWaterSteamFlueGases): time 1.461/1.598, allocations: 295.2 MB / 0.5196 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1556/1.753, allocations: 166.7 MB / 0.6824 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/1.754, allocations: 4 kB / 0.6824 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003469/1.754, allocations: 139.3 kB / 0.6826 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/1.754, allocations: 127 kB / 0.6827 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01035/1.765, allocations: 4.673 MB / 0.6873 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/1.765, allocations: 0.4947 MB / 0.6877 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/1.765, allocations: 193.2 kB / 0.6879 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/1.766, allocations: 171.2 kB / 0.6881 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/1.766, allocations: 179 kB / 0.6883 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/1.766, allocations: 16 kB / 0.6883 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/1.785, allocations: 13.56 MB / 0.7015 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/1.785, allocations: 59.7 kB / 0.7016 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/1.785, allocations: 232.5 kB / 0.7018 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2641/2.05, allocations: 6.217 MB / 0.7079 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/2.05, allocations: 0 / 0.7079 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/2.05, allocations: 1.281 kB / 0.7079 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.975e-06/2.05, allocations: 0 / 0.7079 GB, free: 17.23 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003105/2.053, allocations: 1.145 MB / 0.709 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/2.053, allocations: 9.406 kB / 0.709 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.576e-05/2.053, allocations: 97.72 kB / 0.7091 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/2.053, allocations: 49.91 kB / 0.7091 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/2.053, allocations: 224 kB / 0.7094 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/2.053, allocations: 34.84 kB / 0.7094 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/2.053, allocations: 38.06 kB / 0.7094 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/2.054, allocations: 0.5281 MB / 0.7099 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/2.054, allocations: 0 / 0.7099 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/2.054, allocations: 15.5 kB / 0.71 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/2.054, allocations: 19.64 kB / 0.71 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/2.054, allocations: 331.7 kB / 0.7103 GB, free: 16.11 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.001821/2.056, allocations: 2.631 MB / 0.7129 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/2.056, allocations: 155.5 kB / 0.713 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/2.056, allocations: 116.8 kB / 0.7131 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07433/2.131, allocations: 36.83 MB / 0.7491 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/2.131, allocations: 38.19 kB / 0.7491 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.004e-06/2.131, allocations: 2.719 kB / 0.7491 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.001063/2.132, allocations: 0.5582 MB / 0.7497 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/2.132, allocations: 62.22 kB / 0.7497 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/2.132, allocations: 385.8 kB / 0.7501 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/2.132, allocations: 25.7 kB / 0.7501 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/2.132, allocations: 204.3 kB / 0.7503 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/2.133, allocations: 165.4 kB / 0.7505 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/2.133, allocations: 42.59 kB / 0.7505 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001147/2.133, allocations: 352.4 kB / 0.7508 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/2.133, allocations: 89.78 kB / 0.7509 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/2.133, allocations: 179.1 kB / 0.7511 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/2.133, allocations: 304.8 kB / 0.7514 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/2.133, allocations: 0 / 0.7514 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005001/2.134, allocations: 434.2 kB / 0.7518 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/2.134, allocations: 9.781 kB / 0.7518 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/2.134, allocations: 7.531 kB / 0.7518 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/2.134, allocations: 376.1 kB / 0.7522 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/2.134, allocations: 36.75 kB / 0.7522 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007959/2.135, allocations: 1.317 MB / 0.7535 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/2.135, allocations: 57.78 kB / 0.7536 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/2.136, allocations: 12.34 kB / 0.7536 GB, free: 9.293 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (Puits_Fumees.C.a,Source_Fumees.C.b,source_Eau.C.b,EchangeurEfficacite.Cfg2.b,EchangeurEfficacite.Cfg1.a,EchangeurEfficacite.Cws1.a,EchangeurEfficacite.Cws2.b,puits_Eau.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001427/2.136, allocations: 156.3 kB / 0.7537 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/2.136, allocations: 45.19 kB / 0.7538 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/2.136, allocations: 0.6709 MB / 0.7544 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005291/2.137, allocations: 0.5111 MB / 0.7549 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/2.137, allocations: 0 / 0.7549 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/2.137, allocations: 4 kB / 0.7549 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/2.138, allocations: 1.339 MB / 0.7562 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/2.138, allocations: 0 / 0.7562 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/2.139, allocations: 63.31 kB / 0.7563 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/2.139, allocations: 399.7 kB / 0.7567 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/2.139, allocations: 3.875 kB / 0.7567 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007498/2.14, allocations: 1.327 MB / 0.758 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/2.14, allocations: 2.625 kB / 0.758 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/2.14, allocations: 0.6352 MB / 0.7586 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/2.14, allocations: 143.3 kB / 0.7587 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/2.14, allocations: 10.56 kB / 0.7587 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/2.141, allocations: 11.16 kB / 0.7587 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/2.141, allocations: 26.5 kB / 0.7588 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/2.141, allocations: 12.53 kB / 0.7588 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000209/2.141, allocations: 272.9 kB / 0.759 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/2.141, allocations: 0 / 0.759 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002738/2.144, allocations: 0.8492 MB / 0.7599 GB, free: 6.934 MB / 0.5919 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004422/2.148, allocations: 2.191 MB / 0.762 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007208/2.149, allocations: 0.5263 MB / 0.7625 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/2.149, allocations: 0 / 0.7625 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/2.149, allocations: 286.3 kB / 0.7628 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/2.15, allocations: 194.1 kB / 0.763 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/2.155, allocations: 4.508 MB / 0.7674 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/2.155, allocations: 0.8638 MB / 0.7682 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001696/2.155, allocations: 53.72 kB / 0.7683 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/2.155, allocations: 186.8 kB / 0.7685 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/2.155, allocations: 3.094 kB / 0.7685 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05939/2.215, allocations: 41.86 MB / 0.8093 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/2.215, allocations: 254.9 kB / 0.8096 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.558/5.773, allocations: 4.797 kB / 0.8096 GB, free: 12.68 MB / 0.6387 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleEvaporatorWaterSteamFlueGases.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe 2>&1)