Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 176.4 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.267/1.267, allocations: 225.7 MB / 241.9 MB, free: 404 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.0007867/0.0007868, allocations: 96.19 kB / 293.1 MB, free: 12.88 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.6348/0.6348, allocations: 91.64 MB / 435.8 MB, free: 23.57 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002896, allocations: 12 kB / 0.5038 GB, free: 8.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3015, allocations: 69.28 MB / 0.5715 GB, free: 45.7 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4499/0.7515, allocations: 220 MB / 0.7863 GB, free: 17.18 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.7662, allocations: 22.38 MB / 0.8081 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009218/0.7672, allocations: 20.75 kB / 0.8081 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.7682, allocations: 405.2 kB / 0.8085 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.7704, allocations: 0.8885 MB / 0.8094 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004666/0.775, allocations: 1.983 MB / 0.8113 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.7764, allocations: 1.284 MB / 0.8126 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.7767, allocations: 220.4 kB / 0.8128 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.7785, allocations: 0.8809 MB / 0.8136 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004813/0.779, allocations: 404.4 kB / 0.814 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.7791, allocations: 37.69 kB / 0.8141 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006155/0.7853, allocations: 2.921 MB / 0.8169 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.7855, allocations: 133 kB / 0.817 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.786, allocations: 402.4 kB / 0.8174 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.7906, allocations: 2.264 MB / 0.8196 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7907, allocations: 0 / 0.8196 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7907, allocations: 0 / 0.8196 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.7907, allocations: 1.031 kB / 0.8196 GB, free: 8.145 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002649/0.7933, allocations: 1.317 MB / 0.8209 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7934, allocations: 9.688 kB / 0.8209 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.7947, allocations: 201 kB / 0.8211 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.7954, allocations: 489.5 kB / 0.8216 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.7956, allocations: 180.2 kB / 0.8218 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.7957, allocations: 71.55 kB / 0.8218 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.7972, allocations: 0.7335 MB / 0.8225 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.7972, allocations: 4.609 kB / 0.8226 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.7973, allocations: 26.59 kB / 0.8226 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.7973, allocations: 16.16 kB / 0.8226 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.7986, allocations: 0.6438 MB / 0.8232 GB, free: 6.852 MB / 0.5573 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.0033/0.802, allocations: 2.727 MB / 0.8259 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.8033, allocations: 0.6422 MB / 0.8265 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007092/0.804, allocations: 381.3 kB / 0.8269 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.8054, allocations: 1.911 MB / 0.8287 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.8055, allocations: 37.16 kB / 0.8288 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 3.086e-06/0.8055, allocations: 0 / 0.8288 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of matching and sorting (n=62): time 0.004996/0.8105, allocations: 1.947 MB / 0.8307 GB, free: 19.18 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.8105, allocations: 60.16 kB / 0.8307 GB, free: 19.12 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.8109, allocations: 390.5 kB / 0.8311 GB, free: 19.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.811, allocations: 38.86 kB / 0.8311 GB, free: 18.98 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.8112, allocations: 311.7 kB / 0.8314 GB, free: 18.82 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.8113, allocations: 217.7 kB / 0.8316 GB, free: 18.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.8114, allocations: 10.44 kB / 0.8317 GB, free: 18.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8115, allocations: 361.6 kB / 0.832 GB, free: 18.37 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.8121, allocations: 290.6 kB / 0.8323 GB, free: 18.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.8126, allocations: 296.3 kB / 0.8326 GB, free: 18.35 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.8137, allocations: 0.5947 MB / 0.8331 GB, free: 18.32 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8137, allocations: 0 / 0.8331 GB, free: 18.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00243/0.8161, allocations: 1.131 MB / 0.8342 GB, free: 18.19 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8162, allocations: 4.844 kB / 0.8343 GB, free: 18.19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.8162, allocations: 2.875 kB / 0.8343 GB, free: 18.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.8169, allocations: 261.8 kB / 0.8345 GB, free: 18.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.8175, allocations: 144.3 kB / 0.8346 GB, free: 18.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.8223, allocations: 4.892 MB / 0.8394 GB, free: 14.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/0.8229, allocations: 86.55 kB / 0.8395 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.823, allocations: 47.62 kB / 0.8395 GB, free: 14.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003403/0.8234, allocations: 193.2 kB / 0.8397 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.8235, allocations: 56.05 kB / 0.8398 GB, free: 14.15 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/0.8268, allocations: 1.369 MB / 0.8411 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.8268, allocations: 6.5 kB / 0.8411 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8268, allocations: 2.094 kB / 0.8411 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.8268, allocations: 5.812 kB / 0.8411 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.8308, allocations: 2.135 MB / 0.8432 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.8308, allocations: 5.141 kB / 0.8432 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.8315, allocations: 153 kB / 0.8434 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006374/0.8322, allocations: 264.1 kB / 0.8436 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.8323, allocations: 38.34 kB / 0.8437 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004901/0.8372, allocations: 4.903 MB / 0.8484 GB, free: 9.172 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8372, allocations: 0 / 0.8484 GB, free: 9.172 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.8407, allocations: 1.593 MB / 0.85 GB, free: 8.707 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.8411, allocations: 208.6 kB / 0.8502 GB, free: 8.547 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.8412, allocations: 18.38 kB / 0.8502 GB, free: 8.543 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.8417, allocations: 57.55 kB / 0.8503 GB, free: 8.527 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.8419, allocations: 64.02 kB / 0.8503 GB, free: 8.504 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/0.842, allocations: 48.95 kB / 0.8504 GB, free: 8.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002735/0.8422, allocations: 274.7 kB / 0.8506 GB, free: 8.383 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8422, allocations: 0 / 0.8506 GB, free: 8.383 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001726/0.844, allocations: 0.5193 MB / 0.8512 GB, free: 8.289 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.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 (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/0.8461, allocations: 0.8323 MB / 0.852 GB, free: 7.945 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002421/0.8485, allocations: 1.252 MB / 0.8532 GB, free: 7.375 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8486, allocations: 0 / 0.8532 GB, free: 7.375 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.8502, allocations: 0.9605 MB / 0.8541 GB, free: 6.855 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.8512, allocations: 152.5 kB / 0.8543 GB, free: 6.816 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.8544, allocations: 2.027 MB / 0.8563 GB, free: 5.547 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.8548, allocations: 0.9281 MB / 0.8572 GB, free: 4.746 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009917/0.8558, allocations: 190 kB / 0.8573 GB, free: 4.648 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.8562, allocations: 98.14 kB / 0.8574 GB, free: 4.621 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/0.8562, allocations: 0 / 0.8574 GB, free: 4.621 MB / 0.573 GB Notification: Performance of Templates: time 0.02999/0.8862, allocations: 18.31 MB / 0.8753 GB, free: 4.309 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)