Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 170.5 kB / 16.11 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.183/1.183, 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.0007336/0.0007335, allocations: 82.38 kB / 269.9 MB, free: 8.668 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.5966/0.5966, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002725, allocations: 8 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2253, allocations: 65.81 MB / 0.5378 GB, free: 34.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.379/0.6043, allocations: 207.6 MB / 0.7405 GB, free: 96 kB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.6169, allocations: 16.39 MB / 0.7565 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007941/0.6178, allocations: 16.59 kB / 0.7565 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.6188, allocations: 387.9 kB / 0.7569 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.6214, allocations: 1.099 MB / 0.7579 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.6261, allocations: 1.968 MB / 0.7599 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.6272, allocations: 1.281 MB / 0.7611 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.6275, allocations: 212.7 kB / 0.7613 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.6289, allocations: 0.9185 MB / 0.7622 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.6293, allocations: 411 kB / 0.7626 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.6294, allocations: 31.16 kB / 0.7626 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006066/0.6355, allocations: 4.273 MB / 0.7668 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.6356, allocations: 134.4 kB / 0.7669 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.6359, allocations: 376.4 kB / 0.7673 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.6388, allocations: 2.367 MB / 0.7696 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6388, allocations: 4 kB / 0.7696 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6388, allocations: 6.844 kB / 0.7696 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.6388, allocations: 0 / 0.7696 GB, free: 11.84 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.002114/0.641, allocations: 1.315 MB / 0.7709 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.641, allocations: 7.594 kB / 0.7709 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.6424, allocations: 206.3 kB / 0.7711 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.6429, allocations: 490.9 kB / 0.7716 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.6431, allocations: 182.8 kB / 0.7717 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.6432, allocations: 75.31 kB / 0.7718 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.6446, allocations: 0.7283 MB / 0.7725 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.6446, allocations: 4 kB / 0.7725 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.6446, allocations: 25.84 kB / 0.7726 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.6447, allocations: 20.3 kB / 0.7726 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.646, allocations: 0.651 MB / 0.7732 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.6491, allocations: 2.811 MB / 0.776 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6506, allocations: 0.6586 MB / 0.7766 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.6513, allocations: 388.9 kB / 0.777 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.653, allocations: 2.154 MB / 0.7791 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.653, allocations: 39.12 kB / 0.7791 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=63): time 2.796e-06/0.653, allocations: 0 / 0.7791 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63): time 0.00487/0.6579, allocations: 1.975 MB / 0.781 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.6579, allocations: 59.97 kB / 0.7811 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.6583, allocations: 390 kB / 0.7815 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.6583, allocations: 40.23 kB / 0.7815 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.6585, allocations: 312.5 kB / 0.7818 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.6587, allocations: 215.3 kB / 0.782 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.6587, allocations: 8 kB / 0.782 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6589, allocations: 370.7 kB / 0.7824 GB, free: 436 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.6596, allocations: 293 kB / 0.7827 GB, free: 144 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.6602, allocations: 300.9 kB / 0.7829 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.6615, allocations: 0.6015 MB / 0.7835 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6615, allocations: 0 / 0.7835 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002795/0.6643, allocations: 1.144 MB / 0.7846 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6644, allocations: 4 kB / 0.7846 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6644, allocations: 7.969 kB / 0.7847 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.6651, allocations: 257 kB / 0.7849 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.6658, allocations: 149 kB / 0.785 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00512/0.6709, allocations: 4.9 MB / 0.7898 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.6714, allocations: 87.53 kB / 0.7899 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.6715, allocations: 43.97 kB / 0.79 GB, free: 8.266 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 (56): * Single equations (assignments): 51 * 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.000253/0.6717, allocations: 182.9 kB / 0.7901 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6719, allocations: 55.34 kB / 0.7902 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.6753, allocations: 1.338 MB / 0.7915 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.6753, allocations: 3.984 kB / 0.7915 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.6753, allocations: 4 kB / 0.7915 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.6754, allocations: 132.3 kB / 0.7916 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.6755, allocations: 12 kB / 0.7916 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.676, allocations: 71.8 kB / 0.7917 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6761, allocations: 60.47 kB / 0.7918 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002466/0.6786, allocations: 1.064 MB / 0.7928 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002321/0.6809, allocations: 1.324 MB / 0.7941 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000658/0.6816, allocations: 348.3 kB / 0.7944 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002536/0.6819, allocations: 275.1 kB / 0.7947 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of Backend: time 3.01e-07/0.6819, allocations: 0 / 0.7947 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004238/0.6861, allocations: 2.114 MB / 0.7967 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of SimCode: time 0.002397/0.6885, allocations: 2.269 MB / 0.799 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of Templates: time 0.03158/0.7201, allocations: 23.85 MB / 0.8223 GB, free: 7.328 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)