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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7459/0.7459, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.451e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 31.98 MB / 236.8 MB, free: 5.43 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.416/1.546, allocations: 294.2 MB / 0.5185 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1513/1.698, allocations: 165.5 MB / 0.6801 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/1.698, allocations: 4 kB / 0.6801 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/1.698, allocations: 91.42 kB / 0.6802 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/1.699, allocations: 127 kB / 0.6803 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.709, allocations: 4.481 MB / 0.6847 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004785/1.709, allocations: 0.5143 MB / 0.6852 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/1.709, allocations: 196.9 kB / 0.6854 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/1.709, allocations: 179.1 kB / 0.6856 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/1.71, allocations: 171.1 kB / 0.6857 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/1.71, allocations: 20 kB / 0.6858 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/1.727, allocations: 12.87 MB / 0.6983 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/1.727, allocations: 59.7 kB / 0.6984 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/1.727, allocations: 232.5 kB / 0.6986 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2471/1.974, allocations: 5.984 MB / 0.7045 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.974, allocations: 1.281 kB / 0.7045 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.384e-06/1.974, allocations: 1.312 kB / 0.7045 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.974, allocations: 0 / 0.7045 GB, free: 17.79 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.003205/1.977, allocations: 1.109 MB / 0.7055 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/1.977, allocations: 9.656 kB / 0.7055 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.096e-05/1.977, allocations: 56.56 kB / 0.7056 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/1.978, allocations: 276.3 kB / 0.7059 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/1.978, allocations: 35.75 kB / 0.7059 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/1.978, allocations: 39.34 kB / 0.7059 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/1.978, allocations: 0.5223 MB / 0.7064 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.978, allocations: 1.031 kB / 0.7064 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/1.978, allocations: 19.12 kB / 0.7065 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/1.978, allocations: 23.81 kB / 0.7065 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/1.979, allocations: 347.3 kB / 0.7068 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.00191/1.981, allocations: 2.724 MB / 0.7095 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/1.981, allocations: 181.7 kB / 0.7097 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/1.981, allocations: 104.1 kB / 0.7098 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06432/2.046, allocations: 33.6 MB / 0.7426 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/2.046, allocations: 33.52 kB / 0.7426 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/2.046, allocations: 0 / 0.7426 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.001815/2.047, allocations: 0.7248 MB / 0.7433 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/2.047, allocations: 51.41 kB / 0.7434 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/2.048, allocations: 404.5 kB / 0.7437 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/2.048, allocations: 28.83 kB / 0.7438 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/2.048, allocations: 210.9 kB / 0.744 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/2.048, allocations: 134.1 kB / 0.7441 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/2.048, allocations: 36.95 kB / 0.7441 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001086/2.048, allocations: 352.5 kB / 0.7445 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/2.048, allocations: 81.66 kB / 0.7445 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/2.049, allocations: 166 kB / 0.7447 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/2.049, allocations: 278.1 kB / 0.745 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.049, allocations: 7.5 kB / 0.745 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008617/2.05, allocations: 481 kB / 0.7454 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/2.05, allocations: 5.344 kB / 0.7454 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/2.05, allocations: 3.094 kB / 0.7454 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007611/2.051, allocations: 300.9 kB / 0.7457 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/2.051, allocations: 40.3 kB / 0.7458 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/2.052, allocations: 1.816 MB / 0.7475 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/2.052, allocations: 55.88 kB / 0.7476 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/2.052, allocations: 19.8 kB / 0.7476 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.0001492/2.052, allocations: 155.5 kB / 0.7478 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/2.052, allocations: 41.25 kB / 0.7478 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/2.053, allocations: 0.7372 MB / 0.7485 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007783/2.054, allocations: 0.5565 MB / 0.7491 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.054, allocations: 0 / 0.7491 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/2.054, allocations: 6.75 kB / 0.7491 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/2.056, allocations: 1.377 MB / 0.7504 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/2.056, allocations: 0.8125 kB / 0.7504 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/2.056, allocations: 60.58 kB / 0.7505 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005412/2.056, allocations: 293.3 kB / 0.7508 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/2.056, allocations: 10.97 kB / 0.7508 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000963/2.057, allocations: 1.857 MB / 0.7526 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/2.057, allocations: 128 / 0.7526 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/2.058, allocations: 0.6722 MB / 0.7532 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/2.058, allocations: 148.3 kB / 0.7534 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/2.058, allocations: 7.812 kB / 0.7534 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/2.058, allocations: 28.69 kB / 0.7534 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/2.059, allocations: 24.28 kB / 0.7534 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/2.059, allocations: 9.969 kB / 0.7534 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002183/2.059, allocations: 293 kB / 0.7537 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/2.059, allocations: 0 / 0.7537 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00241/2.061, allocations: 0.8466 MB / 0.7545 GB, free: 7.098 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.003089/2.064, allocations: 1.112 MB / 0.7556 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007081/2.065, allocations: 489.2 kB / 0.7561 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/2.065, allocations: 0 / 0.7561 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/2.065, allocations: 238.4 kB / 0.7563 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/2.066, allocations: 183.7 kB / 0.7565 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/2.067, allocations: 1.116 MB / 0.7576 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/2.068, allocations: 0.8595 MB / 0.7584 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001503/2.068, allocations: 54.14 kB / 0.7585 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/2.068, allocations: 36.41 kB / 0.7585 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/2.068, allocations: 0 / 0.7585 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of Templates: time 0.04051/2.108, allocations: 35.58 MB / 0.7933 GB, free: 10.72 MB / 0.6231 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe 2>&1) Environment - environmentSimulation: