Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001045, allocations: 174.8 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009297/0.0009292, allocations: 102.2 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7892/0.7892, allocations: 90.6 MB / 409.1 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003403, allocations: 8 kB / 485.9 MB, free: 2.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3574, allocations: 66.28 MB / 0.5392 GB, free: 45.79 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2275/0.5849, allocations: 194.6 MB / 0.7292 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.6048, allocations: 15.01 MB / 0.7439 GB, free: 9.914 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.606, allocations: 19.88 kB / 0.7439 GB, free: 9.895 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.6074, allocations: 389.7 kB / 0.7443 GB, free: 9.512 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.6106, allocations: 0.8704 MB / 0.7451 GB, free: 8.637 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.005625/0.6163, allocations: 1.813 MB / 0.7469 GB, free: 6.84 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.618, allocations: 1.152 MB / 0.748 GB, free: 5.684 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.6184, allocations: 191.7 kB / 0.7482 GB, free: 5.484 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.6206, allocations: 0.8607 MB / 0.7491 GB, free: 4.621 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.6214, allocations: 390.2 kB / 0.7494 GB, free: 4.238 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.6216, allocations: 32 kB / 0.7495 GB, free: 4.207 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006986/0.6286, allocations: 2.829 MB / 0.7522 GB, free: 1.375 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.6289, allocations: 127.4 kB / 0.7524 GB, free: 1.25 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.6293, allocations: 169.3 kB / 0.7525 GB, free: 1.078 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.3192/0.9485, allocations: 1.506 MB / 0.754 GB, free: 11.81 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9485, allocations: 1.188 kB / 0.754 GB, free: 11.81 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9485, allocations: 0 / 0.754 GB, free: 11.81 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.694e-05/0.9486, allocations: 3.516 kB / 0.754 GB, free: 11.81 MB / 0.5574 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.003134/0.9517, allocations: 1.318 MB / 0.7553 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.9518, allocations: 9.062 kB / 0.7553 GB, free: 11.31 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.9533, allocations: 195.6 kB / 0.7555 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.9543, allocations: 481.7 kB / 0.7559 GB, free: 11.01 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.9545, allocations: 181.5 kB / 0.7561 GB, free: 10.89 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.9547, allocations: 67.91 kB / 0.7562 GB, free: 10.89 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.9562, allocations: 0.7265 MB / 0.7569 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.9563, allocations: 4.594 kB / 0.7569 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.9563, allocations: 23.31 kB / 0.7569 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.9564, allocations: 20.88 kB / 0.7569 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.9578, allocations: 0.6543 MB / 0.7576 GB, free: 10.84 MB / 0.5574 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.003626/0.9614, allocations: 2.718 MB / 0.7602 GB, free: 9.539 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.9628, allocations: 0.6547 MB / 0.7609 GB, free: 9.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/0.9635, allocations: 376.2 kB / 0.7612 GB, free: 9.488 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002181/0.9657, allocations: 1.904 MB / 0.7631 GB, free: 23.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.9658, allocations: 39.72 kB / 0.7631 GB, free: 23.66 MB / 0.573 GB Notification: Performance of pre-optimization done (n=62): time 3.236e-06/0.9658, allocations: 0 / 0.7631 GB, free: 23.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=62): time 0.005308/0.9711, allocations: 1.943 MB / 0.765 GB, free: 23.22 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.9712, allocations: 60.5 kB / 0.7651 GB, free: 23.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.9717, allocations: 388.3 kB / 0.7654 GB, free: 23.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.9718, allocations: 34.95 kB / 0.7655 GB, free: 23.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.972, allocations: 315.2 kB / 0.7658 GB, free: 22.86 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.9722, allocations: 223 kB / 0.766 GB, free: 22.72 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.9722, allocations: 11.62 kB / 0.766 GB, free: 22.72 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.9724, allocations: 362.6 kB / 0.7663 GB, free: 22.41 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.9731, allocations: 287 kB / 0.7666 GB, free: 22.41 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.9738, allocations: 296.9 kB / 0.7669 GB, free: 22.39 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/0.9745, allocations: 297.3 kB / 0.7672 GB, free: 22.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9745, allocations: 3.953 kB / 0.7672 GB, free: 22.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003089/0.9776, allocations: 1.122 MB / 0.7683 GB, free: 22.26 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.9777, allocations: 5.219 kB / 0.7683 GB, free: 22.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9777, allocations: 0.6562 kB / 0.7683 GB, free: 22.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008908/0.9786, allocations: 263.4 kB / 0.7685 GB, free: 22.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/0.9794, allocations: 143.7 kB / 0.7687 GB, free: 22.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.9866, allocations: 4.897 MB / 0.7735 GB, free: 18.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.9874, allocations: 88.47 kB / 0.7735 GB, free: 18.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.9875, allocations: 46.41 kB / 0.7736 GB, free: 18.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000399/0.9879, allocations: 185.2 kB / 0.7738 GB, free: 18.25 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.9881, allocations: 53.83 kB / 0.7738 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.9924, allocations: 1.366 MB / 0.7752 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.9924, allocations: 6.844 kB / 0.7752 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.9925, allocations: 3.719 kB / 0.7752 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.9925, allocations: 8 kB / 0.7752 GB, free: 18.07 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.9978, allocations: 2.152 MB / 0.7773 GB, free: 17.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.9978, allocations: 2.719 kB / 0.7773 GB, free: 17.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.9987, allocations: 148.8 kB / 0.7774 GB, free: 17.65 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008357/0.9995, allocations: 264.7 kB / 0.7777 GB, free: 17.61 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.224e-05/0.9996, allocations: 29.73 kB / 0.7777 GB, free: 17.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006207/1.006, allocations: 4.901 MB / 0.7825 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.006, allocations: 0 / 0.7825 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/1.01, allocations: 1.597 MB / 0.784 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/1.011, allocations: 204.8 kB / 0.7842 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/1.011, allocations: 18.25 kB / 0.7843 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/1.012, allocations: 61.89 kB / 0.7843 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/1.012, allocations: 61.31 kB / 0.7844 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.012, allocations: 49.3 kB / 0.7844 GB, free: 13.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000474/1.012, allocations: 273 kB / 0.7847 GB, free: 13.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.012, allocations: 1.859 kB / 0.7847 GB, free: 13.32 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002299/1.015, allocations: 0.5272 MB / 0.7852 GB, free: 13.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003143/1.018, allocations: 0.8164 MB / 0.786 GB, free: 13.03 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.022, allocations: 1.253 MB / 0.7872 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.022, allocations: 1.375 kB / 0.7872 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.024, allocations: 0.9633 MB / 0.7882 GB, free: 12.17 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.025, allocations: 147.6 kB / 0.7883 GB, free: 12.17 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/1.029, allocations: 2.022 MB / 0.7903 GB, free: 11.14 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/1.029, allocations: 0.923 MB / 0.7912 GB, free: 10.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/1.03, allocations: 118.7 kB / 0.7913 GB, free: 10.42 MB / 0.573 GB Notification: Performance of SimCode: time 7.82e-07/1.03, allocations: 0.9375 kB / 0.7913 GB, free: 10.42 MB / 0.573 GB Notification: Performance of Templates: time 0.03254/1.063, allocations: 24.27 MB / 0.815 GB, free: 2.629 MB / 0.573 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)