Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.0008711/0.0008711, allocations: 175.8 kB / 15.43 MB, free: 5.766 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.22/1.22, allocations: 225.7 MB / 241.9 MB, free: 14.63 MB / 202.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.0007638/0.0007638, allocations: 98.58 kB / 293 MB, free: 4.898 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6238/0.6238, allocations: 90.97 MB / 435.2 MB, free: 32.86 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 8 kB / 0.5029 GB, free: 4.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2911, allocations: 69.11 MB / 0.5704 GB, free: 34.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4555/0.7467, allocations: 220 MB / 0.7852 GB, free: 29.29 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.7627, allocations: 22.37 MB / 0.8071 GB, free: 20.85 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.7635, allocations: 17.81 kB / 0.8071 GB, free: 20.85 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.7647, allocations: 401.8 kB / 0.8075 GB, free: 20.85 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.7674, allocations: 0.8916 MB / 0.8084 GB, free: 20.84 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004704/0.7721, allocations: 1.98 MB / 0.8103 GB, free: 20.76 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.7734, allocations: 1.294 MB / 0.8116 GB, free: 20.75 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.7737, allocations: 205 kB / 0.8118 GB, free: 20.7 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.7753, allocations: 0.8819 MB / 0.8126 GB, free: 20.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.7757, allocations: 413.3 kB / 0.813 GB, free: 20.68 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.7757, allocations: 33.19 kB / 0.813 GB, free: 20.68 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.781, allocations: 2.911 MB / 0.8159 GB, free: 20.61 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.7811, allocations: 134 kB / 0.816 GB, free: 20.61 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.7815, allocations: 400.9 kB / 0.8164 GB, free: 20.58 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.7852, allocations: 2.269 MB / 0.8186 GB, free: 20.45 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7853, allocations: 0 / 0.8186 GB, free: 20.45 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7853, allocations: 0 / 0.8186 GB, free: 20.45 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.7853, allocations: 1.969 kB / 0.8186 GB, free: 20.45 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002031/0.7873, allocations: 1.32 MB / 0.8199 GB, free: 19.68 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.7874, allocations: 10.34 kB / 0.8199 GB, free: 19.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.7886, allocations: 195.3 kB / 0.8201 GB, free: 19.64 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.7891, allocations: 481.2 kB / 0.8206 GB, free: 19.37 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.7893, allocations: 194.7 kB / 0.8207 GB, free: 19.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.7894, allocations: 70.56 kB / 0.8208 GB, free: 19.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.7906, allocations: 0.7258 MB / 0.8215 GB, free: 19.18 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.7906, allocations: 0 / 0.8215 GB, free: 19.18 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.7907, allocations: 28.53 kB / 0.8215 GB, free: 19.18 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.7907, allocations: 20.72 kB / 0.8216 GB, free: 19.17 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7919, allocations: 0.6419 MB / 0.8222 GB, free: 19.16 MB / 0.573 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.002767/0.7947, allocations: 2.738 MB / 0.8249 GB, free: 17.82 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.7958, allocations: 0.6445 MB / 0.8255 GB, free: 17.8 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.7964, allocations: 383.9 kB / 0.8259 GB, free: 17.78 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.7975, allocations: 1.887 MB / 0.8277 GB, free: 16 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.7975, allocations: 42.86 kB / 0.8277 GB, free: 15.96 MB / 0.573 GB Notification: Performance of pre-optimization done (n=62): time 2.074e-06/0.7976, allocations: 0 / 0.8277 GB, free: 15.96 MB / 0.573 GB Notification: Performance of matching and sorting (n=62): time 0.004471/0.802, allocations: 1.947 MB / 0.8296 GB, free: 15.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.8021, allocations: 57.88 kB / 0.8297 GB, free: 15.45 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.8025, allocations: 387 kB / 0.8301 GB, free: 15.34 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.8025, allocations: 35.7 kB / 0.8301 GB, free: 15.31 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.8027, allocations: 317.6 kB / 0.8304 GB, free: 15.15 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.8029, allocations: 212.9 kB / 0.8306 GB, free: 15.01 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.8029, allocations: 12.94 kB / 0.8306 GB, free: 15.01 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.803, allocations: 362 kB / 0.831 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.8036, allocations: 293 kB / 0.8312 GB, free: 14.69 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.8042, allocations: 298.7 kB / 0.8315 GB, free: 14.68 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.8054, allocations: 0.5931 MB / 0.8321 GB, free: 14.65 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8054, allocations: 0 / 0.8321 GB, free: 14.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002498/0.8079, allocations: 1.133 MB / 0.8332 GB, free: 14.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8079, allocations: 5.688 kB / 0.8332 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8079, allocations: 1.859 kB / 0.8332 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.8087, allocations: 259 kB / 0.8335 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.8093, allocations: 144.6 kB / 0.8336 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.8136, allocations: 4.9 MB / 0.8384 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.8141, allocations: 84.17 kB / 0.8385 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/0.8142, allocations: 52.33 kB / 0.8385 GB, free: 10.63 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.0002415/0.8145, allocations: 191.8 kB / 0.8387 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.842e-05/0.8146, allocations: 56.84 kB / 0.8388 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.8179, allocations: 1.356 MB / 0.8401 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.8179, allocations: 5.875 kB / 0.8401 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8179, allocations: 2.844 kB / 0.8401 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.8179, allocations: 4.828 kB / 0.8401 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.8217, allocations: 2.146 MB / 0.8422 GB, free: 9.906 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8217, allocations: 1.281 kB / 0.8422 GB, free: 9.906 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.8224, allocations: 157.6 kB / 0.8423 GB, free: 9.902 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006535/0.823, allocations: 263.8 kB / 0.8426 GB, free: 9.863 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.8231, allocations: 38.41 kB / 0.8426 GB, free: 9.859 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.8274, allocations: 4.897 MB / 0.8474 GB, free: 6.039 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8274, allocations: 3.938 kB / 0.8474 GB, free: 6.035 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.8306, allocations: 1.593 MB / 0.849 GB, free: 5.777 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.8308, allocations: 205.6 kB / 0.8492 GB, free: 5.645 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.8309, allocations: 19.06 kB / 0.8492 GB, free: 5.645 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.8314, allocations: 58.94 kB / 0.8492 GB, free: 5.637 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.8315, allocations: 63.05 kB / 0.8493 GB, free: 5.637 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.305e-05/0.8316, allocations: 54.5 kB / 0.8494 GB, free: 5.637 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002854/0.8319, allocations: 269.1 kB / 0.8496 GB, free: 5.555 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8319, allocations: 0 / 0.8496 GB, free: 5.555 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00146/0.8334, allocations: 0.5242 MB / 0.8501 GB, free: 5.477 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.00137/0.8348, allocations: 0.8277 MB / 0.8509 GB, free: 5.234 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.8369, allocations: 1.257 MB / 0.8522 GB, free: 4.797 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8369, allocations: 0 / 0.8522 GB, free: 4.797 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.8384, allocations: 0.9621 MB / 0.8531 GB, free: 4.375 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.8392, allocations: 154.9 kB / 0.8533 GB, free: 4.367 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.8417, allocations: 2.033 MB / 0.8552 GB, free: 3.305 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.842, allocations: 0.924 MB / 0.8561 GB, free: 2.598 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008278/0.8428, allocations: 189.7 kB / 0.8563 GB, free: 2.523 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.8431, allocations: 99.05 kB / 0.8564 GB, free: 2.504 MB / 0.573 GB Notification: Performance of SimCode: time 3.41e-07/0.8431, allocations: 0 / 0.8564 GB, free: 2.504 MB / 0.573 GB Notification: Performance of Templates: time 0.02464/0.8678, allocations: 18.32 MB / 0.8743 GB, free: 6.047 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)