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.7972/0.7972, allocations: 150.9 MB / 166 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 15.98 kB / 204.1 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 31.33 MB / 235.4 MB, free: 5.57 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases): time 1.615/1.748, allocations: 294.2 MB / 0.5173 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1662/1.915, allocations: 167.3 MB / 0.6806 GB, free: 6.742 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/1.915, allocations: 4 kB / 0.6807 GB, free: 6.738 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:50:3-51:83:writable] Warning: Connector Cws2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:52:3-54:16:writable] Warning: Connector Cws1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:55:3-56:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:57:3-59:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005005/1.916, allocations: 88.33 kB / 0.6807 GB, free: 6.652 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.000556/1.916, allocations: 131 kB / 0.6809 GB, free: 6.523 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0127/1.929, allocations: 4.489 MB / 0.6852 GB, free: 2.039 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0006872/1.93, allocations: 0.5065 MB / 0.6857 GB, free: 1.531 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/1.93, allocations: 221.5 kB / 0.686 GB, free: 1.324 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/1.93, allocations: 203.1 kB / 0.6861 GB, free: 1.125 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/1.93, allocations: 207 kB / 0.6863 GB, free: 0.9219 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/1.93, allocations: 32 kB / 0.6864 GB, free: 0.8906 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01934/1.95, allocations: 12.88 MB / 0.6989 GB, free: 4 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/1.95, allocations: 79.69 kB / 0.699 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/1.95, allocations: 226.8 kB / 0.6992 GB, free: 3.699 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/1.961, allocations: 6.034 MB / 0.7051 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.961, allocations: 0 / 0.7051 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/1.961, allocations: 0 / 0.7051 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.563e-06/1.961, allocations: 0 / 0.7051 GB, free: 13.65 MB / 0.5919 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.002881/1.964, allocations: 1.182 MB / 0.7063 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.964, allocations: 12.03 kB / 0.7063 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.603e-05/1.964, allocations: 94.69 kB / 0.7064 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.617e-05/1.964, allocations: 48.38 kB / 0.7064 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/1.965, allocations: 282.8 kB / 0.7067 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.965, allocations: 29 kB / 0.7067 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/1.965, allocations: 47.94 kB / 0.7068 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/1.966, allocations: 0.5234 MB / 0.7073 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.966, allocations: 0 / 0.7073 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/1.966, allocations: 16 kB / 0.7073 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/1.966, allocations: 19.98 kB / 0.7073 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/1.966, allocations: 347.8 kB / 0.7077 GB, free: 10.93 MB / 0.5919 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.002491/1.969, allocations: 2.729 MB / 0.7103 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/1.969, allocations: 168.6 kB / 0.7105 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/1.969, allocations: 103.9 kB / 0.7106 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2108/2.18, allocations: 33.26 MB / 0.7431 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/2.18, allocations: 36.23 kB / 0.7431 GB, free: 232 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/2.18, allocations: 0 / 0.7431 GB, free: 232 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.001776/2.182, allocations: 0.7169 MB / 0.7438 GB, free: 231.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/2.182, allocations: 54.81 kB / 0.7438 GB, free: 231.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/2.182, allocations: 405.9 kB / 0.7442 GB, free: 231.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/2.182, allocations: 25.7 kB / 0.7443 GB, free: 231.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/2.182, allocations: 211.2 kB / 0.7445 GB, free: 231.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/2.182, allocations: 134.4 kB / 0.7446 GB, free: 231.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/2.182, allocations: 72.86 kB / 0.7447 GB, free: 231.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/2.183, allocations: 357.2 kB / 0.745 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/2.183, allocations: 84.56 kB / 0.7451 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/2.183, allocations: 163.2 kB / 0.7452 GB, free: 231 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/2.183, allocations: 278.6 kB / 0.7455 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/2.183, allocations: 0 / 0.7455 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008894/2.184, allocations: 482.3 kB / 0.746 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/2.184, allocations: 7.156 kB / 0.746 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/2.184, allocations: 2.625 kB / 0.746 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008004/2.185, allocations: 288.8 kB / 0.7462 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/2.185, allocations: 37.91 kB / 0.7463 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008743/2.186, allocations: 1.824 MB / 0.7481 GB, free: 229.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/2.186, allocations: 61.25 kB / 0.7481 GB, free: 229.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/2.186, allocations: 12.41 kB / 0.7481 GB, free: 229.1 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.0001324/2.186, allocations: 160.2 kB / 0.7483 GB, free: 229 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/2.186, allocations: 38.25 kB / 0.7483 GB, free: 229 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/2.187, allocations: 0.7346 MB / 0.749 GB, free: 228.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008321/2.188, allocations: 0.5551 MB / 0.7496 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/2.188, allocations: 0 / 0.7496 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/2.188, allocations: 2.531 kB / 0.7496 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/2.19, allocations: 1.378 MB / 0.7509 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/2.19, allocations: 5.219 kB / 0.7509 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/2.19, allocations: 66.27 kB / 0.751 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000583/2.191, allocations: 293 kB / 0.7513 GB, free: 228.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/2.191, allocations: 9.469 kB / 0.7513 GB, free: 228.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008259/2.192, allocations: 1.852 MB / 0.7531 GB, free: 226.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/2.192, allocations: 0 / 0.7531 GB, free: 226.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008236/2.193, allocations: 0.6664 MB / 0.7537 GB, free: 226.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/2.193, allocations: 149.1 kB / 0.7539 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/2.193, allocations: 9.812 kB / 0.7539 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/2.193, allocations: 8.906 kB / 0.7539 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/2.193, allocations: 30.03 kB / 0.7539 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/2.193, allocations: 10.25 kB / 0.7539 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002193/2.193, allocations: 288.4 kB / 0.7542 GB, free: 226.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/2.193, allocations: 4 kB / 0.7542 GB, free: 226.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001901/2.195, allocations: 0.8526 MB / 0.7551 GB, free: 226.3 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.004536/2.2, allocations: 2.214 MB / 0.7572 GB, free: 225.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007475/2.2, allocations: 471.6 kB / 0.7577 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.2, allocations: 0 / 0.7577 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/2.201, allocations: 242.9 kB / 0.7579 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/2.202, allocations: 194 kB / 0.7581 GB, free: 225.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/2.207, allocations: 4.628 MB / 0.7626 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/2.207, allocations: 0.8597 MB / 0.7634 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001727/2.207, allocations: 47.48 kB / 0.7635 GB, free: 221.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/2.207, allocations: 190.4 kB / 0.7637 GB, free: 221.4 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/2.207, allocations: 4 kB / 0.7637 GB, free: 221.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05127/2.259, allocations: 41.96 MB / 0.8046 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/2.259, allocations: 263 kB / 0.8049 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.809/6.068, allocations: 6.812 kB / 0.8049 GB, free: 180.2 MB / 0.5919 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)