Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo", uses=false) Using package ThermoSysPro with version 3.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 180.2 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 241.9 MB, free: 400 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008176, allocations: 101.1 kB / 293.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoSysPro 3.2.0-master/package.mo): time 0.7152/0.7152, allocations: 93.9 MB / 438.1 MB, free: 31.52 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 12 kB / 0.5058 GB, free: 2.848 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4281, allocations: 69.07 MB / 0.5732 GB, free: 33.99 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions): time 0.003542/0.4317, allocations: 4.028 MB / 0.5772 GB, free: 31.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1778/0.6096, allocations: 138.4 MB / 0.7123 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008487/0.6105, allocations: 4 kB / 0.7123 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.6109, allocations: 91.27 kB / 0.7124 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.6121, allocations: 246 kB / 0.7126 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.6143, allocations: 0.5066 MB / 0.7131 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001646/0.6159, allocations: 1.115 MB / 0.7142 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008796/0.6168, allocations: 0.5647 MB / 0.7147 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.6173, allocations: 342.6 kB / 0.7151 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007133/0.6181, allocations: 453.7 kB / 0.7155 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.6182, allocations: 56 kB / 0.7156 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.6198, allocations: 0.5923 MB / 0.7161 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.62, allocations: 167.2 kB / 0.7163 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.6206, allocations: 0.503 MB / 0.7168 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.6225, allocations: 1.464 MB / 0.7182 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.6225, allocations: 8 kB / 0.7182 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6225, allocations: 3.938 kB / 0.7182 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.991e-05/0.6226, allocations: 0 / 0.7182 GB, free: 4.781 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.0022/0.6248, allocations: 1.083 MB / 0.7193 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6249, allocations: 15.97 kB / 0.7193 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.6251, allocations: 131.5 kB / 0.7194 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.6256, allocations: 467.2 kB / 0.7199 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.6257, allocations: 94.52 kB / 0.72 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.6259, allocations: 124 kB / 0.7201 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.6278, allocations: 1.277 MB / 0.7213 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.6279, allocations: 0 / 0.7213 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.868e-05/0.628, allocations: 56 kB / 0.7214 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.628, allocations: 32 kB / 0.7214 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.6293, allocations: 0.8298 MB / 0.7222 GB, free: 496 kB / 0.5105 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.007196/0.6365, allocations: 7.46 MB / 0.7295 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.6374, allocations: 453.4 kB / 0.7299 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.6379, allocations: 333.6 kB / 0.7303 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.6384, allocations: 242.1 kB / 0.7305 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.6384, allocations: 42.55 kB / 0.7305 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=51): time 3.357e-06/0.6385, allocations: 0 / 0.7305 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51): time 0.00333/0.6418, allocations: 1.547 MB / 0.732 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.6419, allocations: 85.05 kB / 0.7321 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/0.6425, allocations: 0.5966 MB / 0.7327 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.6426, allocations: 33.7 kB / 0.7327 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6428, allocations: 447.1 kB / 0.7332 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.643, allocations: 181.3 kB / 0.7333 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.643, allocations: 12 kB / 0.7333 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6432, allocations: 374.8 kB / 0.7337 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.6435, allocations: 197.2 kB / 0.7339 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.6439, allocations: 403.5 kB / 0.7343 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.6447, allocations: 0.6347 MB / 0.7349 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6447, allocations: 4 kB / 0.7349 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001478/0.6462, allocations: 0.8731 MB / 0.7357 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6463, allocations: 8 kB / 0.7358 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.6463, allocations: 8 kB / 0.7358 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.6475, allocations: 296.9 kB / 0.736 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.648, allocations: 103.8 kB / 0.7361 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.6506, allocations: 4.06 MB / 0.7401 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.6511, allocations: 110.7 kB / 0.7402 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.6512, allocations: 28 kB / 0.7402 GB, free: 12.63 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 (sinkP2.C.a,sourceP2.C.b,sourceP1.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP1.C.a,sinkP.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP.C.b,splitter2.Cs2.b,splitter2.Cs1.b,splitter2.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004168/0.6516, allocations: 233.2 kB / 0.7405 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6517, allocations: 67.25 kB / 0.7405 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.653, allocations: 0.7288 MB / 0.7412 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.6531, allocations: 4 kB / 0.7412 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6531, allocations: 0 / 0.7412 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6531, allocations: 3.938 kB / 0.7412 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.6569, allocations: 2.258 MB / 0.7435 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6569, allocations: 4 kB / 0.7435 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.6572, allocations: 67.84 kB / 0.7435 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009763/0.6582, allocations: 265.5 kB / 0.7438 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.6582, allocations: 16 kB / 0.7438 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.6608, allocations: 4.014 MB / 0.7477 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6608, allocations: 7.938 kB / 0.7477 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.6622, allocations: 0.9491 MB / 0.7486 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.6624, allocations: 160.1 kB / 0.7488 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.6625, allocations: 23.94 kB / 0.7488 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.6628, allocations: 23.98 kB / 0.7488 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.6629, allocations: 47.83 kB / 0.7489 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.6629, allocations: 24 kB / 0.7489 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004796/0.6634, allocations: 415.1 kB / 0.7493 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6634, allocations: 4 kB / 0.7493 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000916/0.6643, allocations: 291 kB / 0.7496 GB, free: 2.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (32): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005933/0.6649, allocations: 251 kB / 0.7498 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.6663, allocations: 0.5959 MB / 0.7504 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6663, allocations: 0 / 0.7504 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.667, allocations: 288.9 kB / 0.7507 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.6682, allocations: 162.9 kB / 0.7508 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.6706, allocations: 1.744 MB / 0.7525 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.6712, allocations: 0.969 MB / 0.7535 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.6715, allocations: 73.5 kB / 0.7536 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.6716, allocations: 43.44 kB / 0.7536 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of SimCode: time 3.2e-07/0.6716, allocations: 0 / 0.7536 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.0195/0.6911, allocations: 11.37 MB / 0.7647 GB, free: 2.969 MB / 0.5573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe 2>&1)