Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.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/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/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(ThermofluidStream.Processes.Tests.Flow_Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow|flowResistance3.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance") translateModel(ThermofluidStream.Processes.Tests.Flow_Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.m_flow|flowResistance1.m_flow|flowResistance2.m_flow|flowResistance3.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008528/0.0008529, allocations: 176.5 kB / 15.43 MB, free: 6.156 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.223/1.223, allocations: 225.7 MB / 241.9 MB, free: 200 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.0007309/0.000731, allocations: 97.31 kB / 293.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6237/0.6237, allocations: 91.65 MB / 435.8 MB, free: 23.54 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.000277, allocations: 11.98 kB / 0.5038 GB, free: 8.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2915, allocations: 69.3 MB / 0.5715 GB, free: 45.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Flow_Resistance): time 0.1368/0.4283, allocations: 148.3 MB / 0.7163 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.4412, allocations: 13.91 MB / 0.7298 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000625/0.4418, allocations: 11.94 kB / 0.7298 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.4429, allocations: 386 kB / 0.7302 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.4448, allocations: 0.8199 MB / 0.731 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.4464, allocations: 0.6657 MB / 0.7317 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.4478, allocations: 1.373 MB / 0.733 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.448, allocations: 162.2 kB / 0.7332 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.4489, allocations: 481.9 kB / 0.7336 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.4495, allocations: 490.1 kB / 0.7341 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.932e-05/0.4496, allocations: 24 kB / 0.7341 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.4522, allocations: 1.454 MB / 0.7355 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.4523, allocations: 99.42 kB / 0.7356 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.4527, allocations: 340 kB / 0.736 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.4547, allocations: 1.262 MB / 0.7372 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4547, allocations: 0 / 0.7372 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4547, allocations: 0 / 0.7372 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.4548, allocations: 0 / 0.7372 GB, free: 15.57 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001635/0.4564, allocations: 0.947 MB / 0.7381 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4564, allocations: 15.98 kB / 0.7381 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.4566, allocations: 72.09 kB / 0.7382 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.4571, allocations: 413.8 kB / 0.7386 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.4571, allocations: 45.3 kB / 0.7386 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.4572, allocations: 64.03 kB / 0.7387 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.458, allocations: 0.5446 MB / 0.7392 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4581, allocations: 0 / 0.7392 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.4581, allocations: 20 kB / 0.7392 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.4581, allocations: 16 kB / 0.7393 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/0.4588, allocations: 0.5048 MB / 0.7398 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.4616, allocations: 2.481 MB / 0.7422 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.4624, allocations: 0.5293 MB / 0.7427 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.4627, allocations: 276.4 kB / 0.743 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002193/0.4649, allocations: 2.568 MB / 0.7455 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.465, allocations: 46.56 kB / 0.7455 GB, free: 6.301 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=56): time 3.537e-06/0.465, allocations: 0 / 0.7455 GB, free: 6.301 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56): time 0.002069/0.4671, allocations: 1.138 MB / 0.7466 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.4671, allocations: 140.5 kB / 0.7468 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.4676, allocations: 414 kB / 0.7471 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.4676, allocations: 37.7 kB / 0.7472 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4678, allocations: 261.7 kB / 0.7474 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4679, allocations: 201 kB / 0.7476 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.468, allocations: 12 kB / 0.7476 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4681, allocations: 362.8 kB / 0.748 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.4684, allocations: 157.1 kB / 0.7481 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.4687, allocations: 240.4 kB / 0.7484 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.4693, allocations: 435.5 kB / 0.7488 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4693, allocations: 0 / 0.7488 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001041/0.4703, allocations: 0.6327 MB / 0.7494 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4703, allocations: 4 kB / 0.7494 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4704, allocations: 4 kB / 0.7494 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007291/0.4711, allocations: 211.3 kB / 0.7496 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.4717, allocations: 111.9 kB / 0.7497 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.4747, allocations: 4.444 MB / 0.7541 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.475, allocations: 47.44 kB / 0.7541 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.4751, allocations: 23.98 kB / 0.7541 GB, free: 12.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (46): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.4753, allocations: 177.8 kB / 0.7543 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4755, allocations: 55.34 kB / 0.7543 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.4769, allocations: 0.7618 MB / 0.7551 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4769, allocations: 8 kB / 0.7551 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.477, allocations: 0 / 0.7551 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.477, allocations: 11.92 kB / 0.7551 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.4794, allocations: 1.612 MB / 0.7567 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4794, allocations: 0 / 0.7567 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.4796, allocations: 83.89 kB / 0.7568 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.48, allocations: 131.3 kB / 0.7569 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.4801, allocations: 23.98 kB / 0.7569 GB, free: 9.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.4838, allocations: 5.369 MB / 0.7621 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4838, allocations: 0 / 0.7621 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4853, allocations: 1.193 MB / 0.7633 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.4855, allocations: 140.3 kB / 0.7634 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.4856, allocations: 12 kB / 0.7635 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.4859, allocations: 31.78 kB / 0.7635 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4861, allocations: 51.86 kB / 0.7635 GB, free: 2.555 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.4861, allocations: 23.98 kB / 0.7636 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003097/0.4864, allocations: 291.1 kB / 0.7638 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4864, allocations: 0 / 0.7638 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009009/0.4873, allocations: 311.5 kB / 0.7641 GB, free: 1.941 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (flowResistance1.m_flow,flowResistance3.m_flow,flowResistance.m_flow,flowResistance2.m_flow) * 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 (52): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006752/0.488, allocations: 453.6 kB / 0.7646 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.4895, allocations: 0.7276 MB / 0.7653 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4895, allocations: 0 / 0.7653 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.1817/0.6712, allocations: 0.7278 MB / 0.766 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.6726, allocations: 191.6 kB / 0.7662 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.6746, allocations: 1.557 MB / 0.7677 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.675, allocations: 0.8792 MB / 0.7686 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003419/0.6753, allocations: 115.6 kB / 0.7687 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.6754, allocations: 55.03 kB / 0.7687 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.6754, allocations: 0 / 0.7687 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.01871/0.6942, allocations: 14.34 MB / 0.7827 GB, free: 162.3 MB / 0.5573 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Flow_Resistance.pipe 2>&1)