Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.TestStaticExchangerWaterSteamFlueGases,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticExchangerWaterSteamFlueGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticExchangerWaterSteamFlueGases",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.785/0.785, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 4 kB / 204.9 MB, free: 9.953 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 31.97 MB / 236.8 MB, free: 5.387 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.TestStaticExchangerWaterSteamFlueGases): time 1.477/1.607, allocations: 295.2 MB / 0.5196 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1542/1.761, allocations: 165.5 MB / 0.6811 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/1.762, allocations: 0 / 0.6811 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002882/1.762, allocations: 107.4 kB / 0.6812 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002487/1.762, allocations: 126.9 kB / 0.6814 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009857/1.772, allocations: 4.487 MB / 0.6857 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004905/1.773, allocations: 0.5142 MB / 0.6862 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/1.773, allocations: 192.9 kB / 0.6864 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/1.773, allocations: 175.1 kB / 0.6866 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/1.773, allocations: 179.1 kB / 0.6868 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/1.773, allocations: 24 kB / 0.6868 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01743/1.791, allocations: 12.86 MB / 0.6993 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/1.791, allocations: 63.7 kB / 0.6994 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/1.791, allocations: 232.5 kB / 0.6996 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.253/2.044, allocations: 5.986 MB / 0.7055 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/2.044, allocations: 0 / 0.7055 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/2.044, allocations: 0 / 0.7055 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.349e-05/2.044, allocations: 1.125 kB / 0.7055 GB, free: 17.83 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003417/2.047, allocations: 1.107 MB / 0.7066 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/2.048, allocations: 10.34 kB / 0.7066 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.924e-05/2.048, allocations: 91.59 kB / 0.7067 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/2.048, allocations: 49.03 kB / 0.7067 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/2.048, allocations: 283.8 kB / 0.707 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/2.048, allocations: 34.31 kB / 0.707 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/2.048, allocations: 41.88 kB / 0.707 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/2.049, allocations: 0.5191 MB / 0.7076 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/2.049, allocations: 1.594 kB / 0.7076 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/2.049, allocations: 18.12 kB / 0.7076 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/2.049, allocations: 22.62 kB / 0.7076 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/2.049, allocations: 349.5 kB / 0.7079 GB, free: 16.74 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.001994/2.051, allocations: 2.739 MB / 0.7106 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/2.052, allocations: 160.2 kB / 0.7108 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/2.052, allocations: 107 kB / 0.7109 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06659/2.118, allocations: 33.59 MB / 0.7437 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/2.118, allocations: 37.27 kB / 0.7437 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/2.118, allocations: 2.812 kB / 0.7437 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.001905/2.12, allocations: 0.7216 MB / 0.7444 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/2.12, allocations: 54.91 kB / 0.7445 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/2.121, allocations: 402.7 kB / 0.7448 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/2.121, allocations: 25.7 kB / 0.7449 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/2.121, allocations: 218 kB / 0.7451 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/2.121, allocations: 129.1 kB / 0.7452 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/2.121, allocations: 42.8 kB / 0.7452 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001322/2.121, allocations: 348.4 kB / 0.7456 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/2.121, allocations: 83.2 kB / 0.7456 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/2.122, allocations: 175.2 kB / 0.7458 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/2.122, allocations: 283.3 kB / 0.7461 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/2.122, allocations: 0 / 0.7461 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009077/2.123, allocations: 477.2 kB / 0.7465 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/2.123, allocations: 5.281 kB / 0.7465 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/2.123, allocations: 3.344 kB / 0.7465 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/2.124, allocations: 301.7 kB / 0.7468 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/2.124, allocations: 36.8 kB / 0.7469 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/2.125, allocations: 1.824 MB / 0.7487 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/2.125, allocations: 54.3 kB / 0.7487 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/2.125, allocations: 14.44 kB / 0.7487 GB, free: 10.02 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001445/2.125, allocations: 157.9 kB / 0.7489 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/2.125, allocations: 47.94 kB / 0.7489 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/2.126, allocations: 0.7365 MB / 0.7496 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008095/2.127, allocations: 0.5629 MB / 0.7502 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.127, allocations: 0 / 0.7502 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/2.127, allocations: 2.719 kB / 0.7502 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/2.129, allocations: 1.37 MB / 0.7515 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/2.129, allocations: 0 / 0.7515 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/2.129, allocations: 62.7 kB / 0.7516 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/2.13, allocations: 294.8 kB / 0.7519 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/2.13, allocations: 6.781 kB / 0.7519 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/2.131, allocations: 1.858 MB / 0.7537 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/2.131, allocations: 2.734 kB / 0.7537 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/2.132, allocations: 0.6799 MB / 0.7544 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/2.132, allocations: 136.5 kB / 0.7545 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/2.132, allocations: 12.06 kB / 0.7545 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/2.132, allocations: 17.69 kB / 0.7545 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/2.132, allocations: 30.06 kB / 0.7545 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/2.132, allocations: 10.16 kB / 0.7546 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002437/2.132, allocations: 288.3 kB / 0.7548 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/2.132, allocations: 2.5 kB / 0.7548 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002452/2.135, allocations: 0.8502 MB / 0.7557 GB, free: 7.094 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004196/2.139, allocations: 2.224 MB / 0.7578 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007366/2.14, allocations: 488.8 kB / 0.7583 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.14, allocations: 9.953 kB / 0.7583 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/2.14, allocations: 237.4 kB / 0.7585 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/2.141, allocations: 178.9 kB / 0.7587 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/2.147, allocations: 4.65 MB / 0.7632 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/2.147, allocations: 0.8576 MB / 0.7641 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001542/2.147, allocations: 56.48 kB / 0.7641 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/2.147, allocations: 181.5 kB / 0.7643 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/2.147, allocations: 0 / 0.7643 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06286/2.21, allocations: 41.84 MB / 0.8052 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/2.21, allocations: 257.8 kB / 0.8054 GB, free: 348 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/5.833, allocations: 0 / 0.8054 GB, free: 348 kB / 0.6231 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticExchangerWaterSteamFlueGases_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticExchangerWaterSteamFlueGases.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe 2>&1)