Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.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.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7711/0.7711, allocations: 150.9 MB / 166 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 23.95 kB / 204 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 31.32 MB / 235.4 MB, free: 5.445 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.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.727/1.888, allocations: 293.7 MB / 0.5166 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4945/2.383, allocations: 189.9 MB / 0.7021 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00043/2.383, allocations: 13.28 kB / 0.7021 GB, free: 3.676 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:127:3-128:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003363/2.384, allocations: 77.95 kB / 0.7022 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/2.385, allocations: 0.5413 MB / 0.7027 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02504/2.41, allocations: 9.255 MB / 0.7117 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002828/2.413, allocations: 3.271 MB / 0.7149 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/2.414, allocations: 1.13 MB / 0.716 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/2.415, allocations: 0.8427 MB / 0.7169 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/2.416, allocations: 1.204 MB / 0.718 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/2.417, allocations: 119.7 kB / 0.7182 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03577/2.452, allocations: 20.6 MB / 0.7383 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/2.454, allocations: 0.8222 MB / 0.7391 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001816/2.456, allocations: 1.024 MB / 0.7401 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03335/2.489, allocations: 12.14 MB / 0.7519 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/2.489, allocations: 0 / 0.7519 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.855e-06/2.489, allocations: 0 / 0.7519 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.767e-05/2.489, allocations: 5.219 kB / 0.7519 GB, free: 13.81 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: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.01137/2.501, allocations: 3.527 MB / 0.7554 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/2.501, allocations: 9.844 kB / 0.7554 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/2.501, allocations: 210.4 kB / 0.7556 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/2.503, allocations: 0.8598 MB / 0.7564 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004305/2.503, allocations: 459.1 kB / 0.7569 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/2.503, allocations: 187.3 kB / 0.757 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004681/2.508, allocations: 3.129 MB / 0.7601 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/2.508, allocations: 10.09 kB / 0.7601 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/2.508, allocations: 86.19 kB / 0.7602 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/2.508, allocations: 52 kB / 0.7602 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/2.513, allocations: 3.15 MB / 0.7633 GB, free: 9.148 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.01642/2.53, allocations: 14.84 MB / 0.7778 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007339/2.537, allocations: 2.362 MB / 0.7801 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/2.539, allocations: 0.9194 MB / 0.781 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1548/2.694, allocations: 85.75 MB / 0.8648 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.643e-05/2.694, allocations: 47.88 kB / 0.8648 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 5.02e-06/2.694, allocations: 0 / 0.8648 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02138/2.715, allocations: 5.966 MB / 0.8706 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/2.715, allocations: 72.72 kB / 0.8707 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/2.718, allocations: 1.397 MB / 0.8721 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/2.718, allocations: 53.7 kB / 0.8721 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/2.719, allocations: 0.7798 MB / 0.8729 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/2.719, allocations: 0.512 MB / 0.8734 GB, free: 200 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000852/2.72, allocations: 431.2 kB / 0.8738 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001108/2.72, allocations: 305.1 kB / 0.8741 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/2.722, allocations: 0.9214 MB / 0.875 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/2.725, allocations: 1.637 MB / 0.8766 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/2.729, allocations: 2.703 MB / 0.8792 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/2.729, allocations: 8 kB / 0.8792 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006913/2.736, allocations: 3.382 MB / 0.8825 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/2.736, allocations: 21.66 kB / 0.8825 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/2.736, allocations: 20 kB / 0.8826 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004458/2.741, allocations: 1.563 MB / 0.8841 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/2.744, allocations: 0.5917 MB / 0.8847 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00812/2.753, allocations: 5.108 MB / 0.8897 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/2.755, allocations: 308.8 kB / 0.89 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004555/2.756, allocations: 119.9 kB / 0.8901 GB, free: 14.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001284/2.757, allocations: 0.512 MB / 0.8906 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/2.757, allocations: 162.1 kB / 0.8907 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006085/2.763, allocations: 2.773 MB / 0.8934 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/2.763, allocations: 16 kB / 0.8934 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/2.764, allocations: 0 / 0.8934 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/2.764, allocations: 7.969 kB / 0.8935 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008369/2.772, allocations: 4.361 MB / 0.8977 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/2.772, allocations: 4 kB / 0.8977 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/2.774, allocations: 353.8 kB / 0.8981 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004122/2.778, allocations: 1.424 MB / 0.8994 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/2.778, allocations: 43.98 kB / 0.8995 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00753/2.786, allocations: 5.076 MB / 0.9044 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/2.786, allocations: 3.938 kB / 0.9044 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/2.791, allocations: 2.611 MB / 0.907 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/2.793, allocations: 446.7 kB / 0.9074 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/2.793, allocations: 20 kB / 0.9074 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/2.794, allocations: 86.78 kB / 0.9075 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/2.795, allocations: 117.1 kB / 0.9076 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/2.795, allocations: 51.98 kB / 0.9077 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001552/2.796, allocations: 0.9427 MB / 0.9086 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/2.796, allocations: 0 / 0.9086 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006997/2.803, allocations: 2.022 MB / 0.9106 GB, free: 9.344 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009714/2.813, allocations: 2.408 MB / 0.9129 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006764/2.82, allocations: 2.639 MB / 0.9155 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/2.82, allocations: 0 / 0.9155 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003156/2.823, allocations: 1.335 MB / 0.9168 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/2.825, allocations: 338.7 kB / 0.9171 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006406/2.832, allocations: 3.658 MB / 0.9207 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/2.833, allocations: 1.372 MB / 0.922 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002054/2.835, allocations: 0.5434 MB / 0.9226 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/2.836, allocations: 119.4 kB / 0.9227 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/2.836, allocations: 0 / 0.9227 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of Templates: time 0.3208/3.156, allocations: 77.24 MB / 0.9981 GB, free: 444.4 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)