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.0008336/0.0008337, allocations: 168.2 kB / 16.1 MB, free: 5.691 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.137/1.137, allocations: 205 MB / 221.9 MB, free: 9.137 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.0006738/0.0006735, allocations: 90.34 kB / 269.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5938/0.5938, allocations: 90.51 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 8 kB / 484.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 65.81 MB / 0.5377 GB, free: 34.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.3905/0.6176, allocations: 209.7 MB / 0.7426 GB, free: 364 kB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.6295, allocations: 16.32 MB / 0.7585 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007876/0.6304, allocations: 19.28 kB / 0.7585 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.6313, allocations: 408.4 kB / 0.7589 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.6334, allocations: 0.8883 MB / 0.7598 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004788/0.6382, allocations: 1.989 MB / 0.7617 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.6395, allocations: 1.282 MB / 0.763 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.6398, allocations: 217.1 kB / 0.7632 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.6412, allocations: 0.9099 MB / 0.7641 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.6416, allocations: 408.8 kB / 0.7645 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.6417, allocations: 31.31 kB / 0.7645 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005032/0.6467, allocations: 3.155 MB / 0.7676 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.6468, allocations: 132.8 kB / 0.7677 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.6471, allocations: 377.7 kB / 0.7681 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.649, allocations: 1.577 MB / 0.7696 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.649, allocations: 0 / 0.7696 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/0.649, allocations: 0 / 0.7696 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.649, allocations: 2.531 kB / 0.7696 GB, free: 12.76 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002107/0.6512, allocations: 1.313 MB / 0.7709 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.6512, allocations: 12.03 kB / 0.7709 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.6525, allocations: 202.9 kB / 0.7711 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.6531, allocations: 491 kB / 0.7716 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.6533, allocations: 182.5 kB / 0.7717 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.6534, allocations: 72.62 kB / 0.7718 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.6546, allocations: 0.7301 MB / 0.7725 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.6547, allocations: 0 / 0.7725 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/0.6547, allocations: 25.25 kB / 0.7725 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.6547, allocations: 21.59 kB / 0.7726 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.6559, allocations: 0.6538 MB / 0.7732 GB, free: 10.36 MB / 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.00314/0.6591, allocations: 2.73 MB / 0.7759 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.6603, allocations: 0.6488 MB / 0.7765 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/0.661, allocations: 381 kB / 0.7769 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.6626, allocations: 1.902 MB / 0.7787 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6626, allocations: 40.38 kB / 0.7788 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=62): time 2.225e-06/0.6626, allocations: 3.938 kB / 0.7788 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=62): time 0.004603/0.6672, allocations: 1.944 MB / 0.7807 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.6673, allocations: 63.84 kB / 0.7807 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.6677, allocations: 394 kB / 0.7811 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.6677, allocations: 33.7 kB / 0.7811 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.6679, allocations: 320.5 kB / 0.7814 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.6681, allocations: 211.8 kB / 0.7816 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.6681, allocations: 12 kB / 0.7816 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6682, allocations: 362.8 kB / 0.782 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.6688, allocations: 291.6 kB / 0.7823 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.6693, allocations: 300.9 kB / 0.7826 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6705, allocations: 0.5975 MB / 0.7831 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6705, allocations: 0 / 0.7831 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002566/0.6731, allocations: 1.145 MB / 0.7843 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6731, allocations: 8 kB / 0.7843 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6731, allocations: 0 / 0.7843 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/0.6739, allocations: 260.9 kB / 0.7845 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.6745, allocations: 145 kB / 0.7847 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/0.6796, allocations: 4.897 MB / 0.7894 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.6801, allocations: 79.59 kB / 0.7895 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/0.6802, allocations: 47.98 kB / 0.7896 GB, free: 10.07 MB / 0.5261 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.0002581/0.6805, allocations: 192.8 kB / 0.7897 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.6806, allocations: 55.28 kB / 0.7898 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.6839, allocations: 1.368 MB / 0.7911 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.6839, allocations: 8 kB / 0.7911 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6839, allocations: 0 / 0.7911 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.6839, allocations: 10.45 kB / 0.7911 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.6878, allocations: 2.161 MB / 0.7933 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6878, allocations: 4 kB / 0.7933 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.6885, allocations: 151.5 kB / 0.7934 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006409/0.6892, allocations: 262.4 kB / 0.7937 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.6892, allocations: 35.97 kB / 0.7937 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.6941, allocations: 4.899 MB / 0.7985 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6941, allocations: 8 kB / 0.7985 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/0.6974, allocations: 1.601 MB / 0.8 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.6976, allocations: 200.3 kB / 0.8002 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/0.6977, allocations: 19.94 kB / 0.8003 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.6982, allocations: 63.86 kB / 0.8003 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6983, allocations: 59.02 kB / 0.8004 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.144e-05/0.6984, allocations: 55.97 kB / 0.8004 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002489/0.6987, allocations: 271.2 kB / 0.8007 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6987, allocations: 0 / 0.8007 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001188/0.6999, allocations: 0.5305 MB / 0.8012 GB, free: 13.67 MB / 0.5417 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.001348/0.7012, allocations: 0.8086 MB / 0.802 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.7034, allocations: 1.246 MB / 0.8032 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7034, allocations: 0 / 0.8032 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.7049, allocations: 0.9601 MB / 0.8041 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.7056, allocations: 156.8 kB / 0.8043 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.7084, allocations: 1.97 MB / 0.8062 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.7088, allocations: 0.9262 MB / 0.8071 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.7092, allocations: 115.4 kB / 0.8072 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.7092, allocations: 0 / 0.8072 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of Templates: time 0.02495/0.7342, allocations: 24.26 MB / 0.8309 GB, free: 15.34 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)