Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009695/0.0009693, allocations: 92.05 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.008608/0.008608, allocations: 1.565 MB / 332.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7793/0.7793, allocations: 90.04 MB / 474 MB, free: 13.05 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.839e-05, allocations: 3.156 kB / 0.5376 GB, free: 33.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 69.37 MB / 0.6053 GB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.831/1.979, allocations: 0.7543 GB / 1.36 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.979, allocations: 71.97 kB / 1.36 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.632/3.611, allocations: 389.2 MB / 1.74 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.996e-06/3.611, allocations: 0 / 1.74 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.735e-05/3.611, allocations: 26.88 kB / 1.74 GB, free: 118.8 MB / 0.6042 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.005321/3.617, allocations: 1.62 MB / 1.741 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/3.617, allocations: 7.062 kB / 1.741 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/3.619, allocations: 201.2 kB / 1.742 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/3.62, allocations: 496.8 kB / 1.742 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/3.62, allocations: 160.6 kB / 1.742 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/3.62, allocations: 47.22 kB / 1.742 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/3.621, allocations: 0.5039 MB / 1.743 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/3.622, allocations: 0.534 MB / 1.743 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/3.622, allocations: 0 / 1.743 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/3.622, allocations: 0 / 1.743 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/3.622, allocations: 16.81 kB / 1.743 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/3.627, allocations: 2.654 MB / 1.746 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/3.628, allocations: 0.5271 MB / 1.746 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/3.629, allocations: 286.2 kB / 1.747 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000831/3.63, allocations: 0.9808 MB / 1.748 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/3.63, allocations: 41.72 kB / 1.748 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 3.787e-06/3.63, allocations: 0 / 1.748 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.003147/3.633, allocations: 0.9022 MB / 1.748 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/3.633, allocations: 59.47 kB / 1.749 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/3.634, allocations: 301.7 kB / 1.749 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/3.634, allocations: 25.7 kB / 1.749 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/3.634, allocations: 318.5 kB / 1.749 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/3.634, allocations: 208.2 kB / 1.749 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/3.634, allocations: 0 / 1.749 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001739/3.634, allocations: 369.6 kB / 1.75 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/3.635, allocations: 195.3 kB / 1.75 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/3.635, allocations: 203.4 kB / 1.75 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/3.636, allocations: 251.1 kB / 1.75 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/3.636, allocations: 0 / 1.75 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00252/3.638, allocations: 0.9252 MB / 1.751 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/3.638, allocations: 4.812 kB / 1.751 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/3.638, allocations: 3.938 kB / 1.751 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/3.639, allocations: 149.8 kB / 1.751 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/3.64, allocations: 144.4 kB / 1.752 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/3.644, allocations: 4.358 MB / 1.756 GB, free: 110 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/3.644, allocations: 69.16 kB / 1.756 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/3.644, allocations: 43.77 kB / 1.756 GB, free: 109.9 MB / 0.6042 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 () * 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 (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.0001842/3.644, allocations: 112.6 kB / 1.756 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00254/3.647, allocations: 0.9155 MB / 1.757 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/3.647, allocations: 49.81 kB / 1.757 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/3.651, allocations: 1.338 MB / 1.758 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/3.651, allocations: 10.53 kB / 1.758 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/3.651, allocations: 6.766 kB / 1.758 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/3.651, allocations: 7.078 kB / 1.758 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/3.655, allocations: 1.819 MB / 1.76 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/3.655, allocations: 0 / 1.76 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/3.655, allocations: 149.3 kB / 1.76 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/3.656, allocations: 156.7 kB / 1.76 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/3.656, allocations: 28.42 kB / 1.76 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/3.659, allocations: 4.366 MB / 1.765 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.659, allocations: 0 / 1.765 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/3.663, allocations: 1.361 MB / 1.766 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/3.663, allocations: 131.5 kB / 1.766 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/3.663, allocations: 4 kB / 1.766 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/3.663, allocations: 53.42 kB / 1.766 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/3.663, allocations: 57.95 kB / 1.766 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/3.664, allocations: 48.55 kB / 1.766 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002491/3.664, allocations: 242.8 kB / 1.766 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/3.664, allocations: 0 / 1.766 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001708/3.666, allocations: 445.8 kB / 1.767 GB, free: 104.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete 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.005817/3.671, allocations: 3.36 MB / 1.77 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001988/3.673, allocations: 1.071 MB / 1.771 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/3.673, allocations: 0 / 1.771 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/3.675, allocations: 0.8402 MB / 1.772 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/3.676, allocations: 122.2 kB / 1.772 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/3.679, allocations: 1.35 MB / 1.773 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/3.679, allocations: 0.9427 MB / 1.774 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001009/3.68, allocations: 410.1 kB / 1.775 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/3.681, allocations: 315.1 kB / 1.775 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.623e-06/3.681, allocations: 0 / 1.775 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/3.74, allocations: 25.41 MB / 1.8 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/3.74, allocations: 199 kB / 1.8 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/6.769, allocations: 0 / 1.8 GB, free: 75.84 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)