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.8416/0.8416, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002452, allocations: 15.98 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 31.33 MB / 236 MB, free: 3.855 MB / 186.7 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.567/1.704, allocations: 293 MB / 0.5166 GB, free: 9.059 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4865/2.191, allocations: 189.9 MB / 0.7021 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004164/2.191, allocations: 8.938 kB / 0.7021 GB, free: 2.926 MB / 0.5573 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.0003112/2.192, allocations: 81.38 kB / 0.7022 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/2.193, allocations: 0.5462 MB / 0.7027 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02514/2.218, allocations: 9.237 MB / 0.7117 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002565/2.221, allocations: 3.282 MB / 0.7149 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/2.222, allocations: 1.141 MB / 0.716 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008564/2.223, allocations: 0.8493 MB / 0.7169 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/2.224, allocations: 1.2 MB / 0.718 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/2.224, allocations: 124.3 kB / 0.7181 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03713/2.262, allocations: 20.75 MB / 0.7384 GB, free: 15.48 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/2.263, allocations: 0.8256 MB / 0.7392 GB, free: 15.21 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/2.264, allocations: 1.019 MB / 0.7402 GB, free: 15.05 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02559/2.29, allocations: 12.01 MB / 0.7519 GB, free: 9.371 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/2.29, allocations: 0 / 0.7519 GB, free: 9.371 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.653e-06/2.29, allocations: 0 / 0.7519 GB, free: 9.371 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.175e-05/2.29, allocations: 4 kB / 0.7519 GB, free: 9.367 MB / 0.573 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.009529/2.299, allocations: 3.538 MB / 0.7554 GB, free: 5.836 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/2.299, allocations: 8.031 kB / 0.7554 GB, free: 5.828 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/2.3, allocations: 209.8 kB / 0.7556 GB, free: 5.621 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/2.301, allocations: 0.8561 MB / 0.7564 GB, free: 4.773 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/2.302, allocations: 452.9 kB / 0.7569 GB, free: 4.27 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/2.302, allocations: 186.9 kB / 0.7571 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/2.307, allocations: 3.126 MB / 0.7601 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/2.307, allocations: 13.81 kB / 0.7601 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/2.307, allocations: 83.98 kB / 0.7602 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/2.307, allocations: 52 kB / 0.7603 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00519/2.312, allocations: 3.154 MB / 0.7633 GB, free: 13.5 MB / 0.5886 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.01615/2.328, allocations: 14.84 MB / 0.7778 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007256/2.336, allocations: 2.374 MB / 0.7801 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/2.337, allocations: 0.9114 MB / 0.781 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1671/2.504, allocations: 85.75 MB / 0.8648 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/2.504, allocations: 47.88 kB / 0.8648 GB, free: 10.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=146): time 4.077e-06/2.504, allocations: 0 / 0.8648 GB, free: 10.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=146): time 0.02215/2.527, allocations: 5.977 MB / 0.8707 GB, free: 4.492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/2.527, allocations: 64.72 kB / 0.8707 GB, free: 4.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/2.529, allocations: 1.397 MB / 0.8721 GB, free: 3.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/2.529, allocations: 45.7 kB / 0.8721 GB, free: 2.961 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/2.53, allocations: 0.7815 MB / 0.8729 GB, free: 2.176 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/2.53, allocations: 0.5219 MB / 0.8734 GB, free: 1.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008316/2.531, allocations: 427.2 kB / 0.8738 GB, free: 1.234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/2.531, allocations: 305.1 kB / 0.8741 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/2.533, allocations: 0.9214 MB / 0.875 GB, free: 8 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/2.535, allocations: 1.634 MB / 0.8766 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/2.539, allocations: 2.705 MB / 0.8792 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/2.539, allocations: 12 kB / 0.8792 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006515/2.546, allocations: 3.377 MB / 0.8825 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/2.546, allocations: 19.94 kB / 0.8826 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/2.546, allocations: 20 kB / 0.8826 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004603/2.551, allocations: 1.563 MB / 0.8841 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/2.554, allocations: 0.5894 MB / 0.8847 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007941/2.562, allocations: 5.11 MB / 0.8897 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/2.565, allocations: 308.8 kB / 0.89 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/2.565, allocations: 119.9 kB / 0.8901 GB, free: 36 kB / 0.7136 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.001115/2.566, allocations: 0.5143 MB / 0.8906 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/2.567, allocations: 158.1 kB / 0.8907 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/2.572, allocations: 2.772 MB / 0.8934 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/2.572, allocations: 16 kB / 0.8935 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/2.572, allocations: 0 / 0.8935 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/2.573, allocations: 15.97 kB / 0.8935 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008145/2.581, allocations: 4.354 MB / 0.8977 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/2.581, allocations: 7.938 kB / 0.8977 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/2.583, allocations: 347.3 kB / 0.8981 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00437/2.587, allocations: 1.425 MB / 0.8995 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/2.588, allocations: 43.97 kB / 0.8995 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/2.595, allocations: 5.072 MB / 0.9044 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/2.595, allocations: 0 / 0.9044 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007868/2.603, allocations: 4.628 MB / 0.909 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/2.604, allocations: 446.7 kB / 0.9094 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/2.604, allocations: 28 kB / 0.9094 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/2.606, allocations: 79.78 kB / 0.9095 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/2.606, allocations: 131.5 kB / 0.9096 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/2.606, allocations: 47.98 kB / 0.9097 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001198/2.607, allocations: 0.9377 MB / 0.9106 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/2.607, allocations: 0 / 0.9106 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005586/2.613, allocations: 2.081 MB / 0.9126 GB, free: 8.699 MB / 0.7448 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.006888/2.62, allocations: 2.417 MB / 0.915 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005638/2.625, allocations: 2.631 MB / 0.9175 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.625, allocations: 0 / 0.9175 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/2.628, allocations: 1.339 MB / 0.9188 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/2.63, allocations: 333.6 kB / 0.9192 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/2.635, allocations: 4.35 MB / 0.9234 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009638/2.636, allocations: 1.42 MB / 0.9248 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001755/2.638, allocations: 0.5356 MB / 0.9253 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/2.639, allocations: 127.4 kB / 0.9254 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of SimCode: time 9.12e-07/2.639, allocations: 4 kB / 0.9255 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.2617/2.9, allocations: 78.6 MB / 1.002 GB, free: 394.1 MB / 0.7761 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)