Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.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.TestFlueGasesVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.743/0.743, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.496e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 31.97 MB / 236.8 MB, free: 5.453 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.TestFlueGasesVolumes): time 1.41/1.541, allocations: 299 MB / 0.5232 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1368/1.678, allocations: 148.9 MB / 0.6687 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/1.679, allocations: 12 kB / 0.6687 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/1.68, allocations: 174.5 kB / 0.6688 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/1.681, allocations: 0.5154 MB / 0.6693 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/1.684, allocations: 1.396 MB / 0.6707 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002509/1.686, allocations: 2.679 MB / 0.6733 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/1.688, allocations: 1.17 MB / 0.6745 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006719/1.688, allocations: 0.7822 MB / 0.6752 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008443/1.689, allocations: 1.023 MB / 0.6762 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/1.689, allocations: 120 kB / 0.6763 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/1.691, allocations: 0.8386 MB / 0.6772 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/1.691, allocations: 406.3 kB / 0.6775 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007437/1.692, allocations: 1.035 MB / 0.6785 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/1.694, allocations: 2.822 MB / 0.6813 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.694, allocations: 0 / 0.6813 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.512e-06/1.694, allocations: 3.938 kB / 0.6813 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.302e-05/1.694, allocations: 0 / 0.6813 GB, free: 5.785 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 597 * Number of variables: 597 Notification: Performance of Generate backend data structure: time 0.00338/1.697, allocations: 2.038 MB / 0.6833 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/1.697, allocations: 8.031 kB / 0.6833 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/1.698, allocations: 258.1 kB / 0.6836 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/1.698, allocations: 0.8293 MB / 0.6844 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.699, allocations: 180.7 kB / 0.6845 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/1.699, allocations: 240 kB / 0.6848 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/1.703, allocations: 2.653 MB / 0.6874 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/1.703, allocations: 11.88 kB / 0.6874 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/1.703, allocations: 100 kB / 0.6875 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/1.703, allocations: 60 kB / 0.6875 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/1.707, allocations: 2.26 MB / 0.6897 GB, free: 12.82 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.1607/1.867, allocations: 15.38 MB / 0.7047 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/1.87, allocations: 2.025 MB / 0.7067 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/1.871, allocations: 0.5741 MB / 0.7073 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/1.871, allocations: 499.8 kB / 0.7078 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/1.871, allocations: 53.88 kB / 0.7078 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=117): time 2.845e-06/1.871, allocations: 0 / 0.7078 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117): time 0.01285/1.884, allocations: 4.583 MB / 0.7123 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.884, allocations: 196.6 kB / 0.7125 GB, free: 224 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/1.886, allocations: 1.626 MB / 0.7141 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/1.886, allocations: 47.2 kB / 0.7141 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/1.886, allocations: 0.8701 MB / 0.715 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/1.886, allocations: 426.5 kB / 0.7154 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/1.887, allocations: 168.4 kB / 0.7155 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.081e-05/1.887, allocations: 301.1 kB / 0.7158 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009108/1.887, allocations: 484.8 kB / 0.7163 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.889, allocations: 1.144 MB / 0.7174 GB, free: 222 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/1.891, allocations: 1.742 MB / 0.7191 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.891, allocations: 7.938 kB / 0.7191 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003488/1.894, allocations: 2.266 MB / 0.7213 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.894, allocations: 14.44 kB / 0.7213 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.894, allocations: 23.17 kB / 0.7214 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003266/1.897, allocations: 0.9246 MB / 0.7223 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/1.898, allocations: 231 kB / 0.7225 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004405/1.903, allocations: 10.82 MB / 0.733 GB, free: 211.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.904, allocations: 332.8 kB / 0.7334 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/1.904, allocations: 92.48 kB / 0.7334 GB, free: 210.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 51 (singularPressureLossFlueGases8.C2.b,singularPressureLossFlueGases8.C1.a,staticFan2.C2.b,staticFan2.C1.a,singularPressureLossFlueGases7.C2.b,singularPressureLossFlueGases7.C1.a,singularPressureLossFlueGases6.C2.b,singularPressureLossFlueGases6.C1.a,dynamicExchanger2.Ce3.a,dynamicExchanger2.Ce2.a,dynamicExchanger2.Cs.b,dynamicExchanger2.Ce1.a,Puits_Fumees2.C.a,Source_Fumees2.C.b,singularPressureLossFlueGases5.C2.b,singularPressureLossFlueGases5.C1.a,staticFan1.C2.b,staticFan1.C1.a,singularPressureLossFlueGases4.C2.b,singularPressureLossFlueGases4.C1.a,singularPressureLossFlueGases3.C2.b,singularPressureLossFlueGases3.C1.a,dynamicExchanger1.Ce2.a,dynamicExchanger1.Cs1.b,dynamicExchanger1.Cs2.b,dynamicExchanger1.Ce1.a,Puits_Fumees1.C.a,Source_Fumees1.C.b,singularPressureLossFlueGases2.C2.b,singularPressureLossFlueGases2.C1.a,staticFan.C2.b,staticFan.C1.a,singularPressureLossFlueGases1.C2.b,singularPressureLossFlueGases1.C1.a,singularPressureLossFlueGases.C2.b,singularPressureLossFlueGases.C1.a,dynamicExchanger.Cs3.b,dynamicExchanger.Cs2.b,dynamicExchanger.Cs1.b,dynamicExchanger.Ce.a,Puits_Fumees.C.a,Source_Fumees.C.b,staticFan2.commandeFan.signal,dynamicExchanger2.Ce3.b,dynamicExchanger2.Ce2.b,staticFan1.commandeFan.signal,dynamicExchanger1.Cs2.a,dynamicExchanger1.Ce2.b,staticFan.commandeFan.signal,dynamicExchanger.Cs2.a,dynamicExchanger.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * 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): 3 systems {1, 1, 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): 15 systems {(1,3), (3,9), (1,3), (1,4), (1,3), (1,3), (3,9), (1,3), (1,4), (1,3), (1,3), (3,9), (1,3), (1,4), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005397/1.905, allocations: 389.6 kB / 0.7338 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/1.905, allocations: 216.5 kB / 0.734 GB, free: 210.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/1.909, allocations: 1.991 MB / 0.736 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.909, allocations: 17.92 kB / 0.736 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.909, allocations: 2.094 kB / 0.736 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.909, allocations: 3.516 kB / 0.736 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005792/1.915, allocations: 3.922 MB / 0.7398 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.915, allocations: 3.531 kB / 0.7398 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/1.916, allocations: 168.5 kB / 0.74 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/1.918, allocations: 0.7419 MB / 0.7407 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/1.918, allocations: 38.11 kB / 0.7407 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/1.922, allocations: 10.77 MB / 0.7513 GB, free: 199.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.922, allocations: 3.906 kB / 0.7513 GB, free: 199.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/1.926, allocations: 2.546 MB / 0.7537 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/1.926, allocations: 393.7 kB / 0.7541 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.927, allocations: 19 kB / 0.7541 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/1.927, allocations: 78.44 kB / 0.7542 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.928, allocations: 93.97 kB / 0.7543 GB, free: 198 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/1.928, allocations: 41.53 kB / 0.7543 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00106/1.929, allocations: 1.074 MB / 0.7554 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.929, allocations: 0 / 0.7554 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001162/1.93, allocations: 0.5094 MB / 0.7559 GB, free: 197.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (dynamicExchanger2.h,dynamicExchanger1.h,dynamicExchanger.h) * 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 (57): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 12 * 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): 6 systems {1, 1, 1, 1, 1, 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): 12 systems {(1,3), (3,9), (1,3), (1,3), (1,3), (3,9), (1,3), (1,3), (1,3), (3,9), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005886/1.93, allocations: 303.6 kB / 0.7562 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003203/1.934, allocations: 1.567 MB / 0.7577 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.934, allocations: 0 / 0.7577 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/1.936, allocations: 0.8429 MB / 0.7585 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.938, allocations: 294.6 kB / 0.7588 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/1.941, allocations: 3.701 MB / 0.7624 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/1.942, allocations: 1.29 MB / 0.7637 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005021/1.942, allocations: 198.5 kB / 0.7639 GB, free: 191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/1.943, allocations: 103.3 kB / 0.764 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/1.943, allocations: 4 kB / 0.764 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03092/1.974, allocations: 25.34 MB / 0.7887 GB, free: 166.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe 2>&1) Environment - environmentSimulation: