Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.001499/0.001499, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 88.94 kB / 285.6 MB, free: 12.97 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.0112/0.0112, allocations: 1.557 MB / 338 MB, free: 8.457 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7452/0.7452, allocations: 90.04 MB / 479.3 MB, free: 2.953 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.313e-05/5.316e-05, allocations: 8 kB / 0.5446 GB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 69.36 MB / 0.6123 GB, free: 2.422 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.694/2.871, allocations: 0.7558 GB / 1.368 GB, free: 207.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/2.871, allocations: 85.17 kB / 1.368 GB, free: 207.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.393/5.264, allocations: 0.5921 GB / 1.96 GB, free: 87.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.959e-06/5.264, allocations: 0 / 1.96 GB, free: 87.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003358/5.264, allocations: 39.38 kB / 1.96 GB, free: 87.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.01617/5.28, allocations: 2.423 MB / 1.963 GB, free: 86.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.691e-05/5.281, allocations: 15.48 kB / 1.963 GB, free: 86.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008921/5.281, allocations: 176.9 kB / 1.963 GB, free: 86.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/5.287, allocations: 349.3 kB / 1.963 GB, free: 85.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/5.29, allocations: 0.6916 MB / 1.964 GB, free: 85.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007164/5.291, allocations: 350.8 kB / 1.964 GB, free: 85.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006445/5.292, allocations: 118.8 kB / 1.964 GB, free: 85.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00546/5.297, allocations: 1.218 MB / 1.966 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/5.297, allocations: 0 / 1.966 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/5.297, allocations: 46 kB / 1.966 GB, free: 84.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/5.298, allocations: 34.19 kB / 1.966 GB, free: 84.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003491/5.301, allocations: 0.9548 MB / 1.967 GB, free: 83.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/5.312, allocations: 4.902 MB / 1.971 GB, free: 79.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/5.315, allocations: 1.112 MB / 1.972 GB, free: 79.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/5.316, allocations: 0.5122 MB / 1.973 GB, free: 78.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/5.318, allocations: 1.874 MB / 1.975 GB, free: 76.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/5.318, allocations: 43.25 kB / 1.975 GB, free: 76.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=112): time 6.292e-06/5.318, allocations: 0 / 1.975 GB, free: 76.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=112): time 0.007469/5.326, allocations: 1.642 MB / 1.976 GB, free: 75.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/5.326, allocations: 69.52 kB / 1.976 GB, free: 75.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/5.327, allocations: 484.4 kB / 1.977 GB, free: 75.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/5.327, allocations: 41.7 kB / 1.977 GB, free: 75.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/5.327, allocations: 476.4 kB / 1.977 GB, free: 74.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/5.328, allocations: 383.6 kB / 1.978 GB, free: 74.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/5.328, allocations: 20 kB / 1.978 GB, free: 74.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001293/5.328, allocations: 345.9 kB / 1.978 GB, free: 74.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/5.329, allocations: 377.9 kB / 1.978 GB, free: 73.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/5.33, allocations: 478.6 kB / 1.979 GB, free: 73.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/5.331, allocations: 392.8 kB / 1.979 GB, free: 72.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/5.331, allocations: 0 / 1.979 GB, free: 72.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006574/5.338, allocations: 1.688 MB / 1.981 GB, free: 71.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/5.338, allocations: 4 kB / 1.981 GB, free: 71.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/5.338, allocations: 1.969 kB / 1.981 GB, free: 71.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/5.339, allocations: 273 kB / 1.981 GB, free: 70.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/5.342, allocations: 286.9 kB / 1.982 GB, free: 70.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/5.352, allocations: 6.445 MB / 1.988 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/5.354, allocations: 151 kB / 1.988 GB, free: 63.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/5.355, allocations: 71.97 kB / 1.988 GB, free: 63.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007489/5.355, allocations: 156 kB / 1.988 GB, free: 63.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008133/5.356, allocations: 94.88 kB / 1.988 GB, free: 63.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/5.367, allocations: 2.459 MB / 1.991 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/5.367, allocations: 16 kB / 1.991 GB, free: 60.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/5.367, allocations: 4 kB / 1.991 GB, free: 60.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-05/5.367, allocations: 7.969 kB / 1.991 GB, free: 60.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/5.38, allocations: 3.226 MB / 1.994 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/5.38, allocations: 4 kB / 1.994 GB, free: 57.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/5.383, allocations: 303.6 kB / 1.994 GB, free: 57.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/5.384, allocations: 274.5 kB / 1.994 GB, free: 56.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/5.384, allocations: 51.95 kB / 1.994 GB, free: 56.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/5.395, allocations: 6.442 MB / 2.001 GB, free: 49.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/5.395, allocations: 12.16 kB / 2.001 GB, free: 49.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009849/5.405, allocations: 2.361 MB / 2.003 GB, free: 47.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008101/5.406, allocations: 179.6 kB / 2.003 GB, free: 47.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005815/5.406, allocations: 28 kB / 2.003 GB, free: 47.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/5.408, allocations: 107.9 kB / 2.003 GB, free: 47.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005112/5.409, allocations: 108.8 kB / 2.003 GB, free: 47.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003708/5.409, allocations: 79.95 kB / 2.004 GB, free: 47.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000923/5.41, allocations: 375.2 kB / 2.004 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/5.41, allocations: 0 / 2.004 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004432/5.414, allocations: 0.7214 MB / 2.005 GB, free: 45.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0085/5.423, allocations: 4.587 MB / 2.009 GB, free: 41.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00354/5.427, allocations: 1.861 MB / 2.011 GB, free: 39.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/5.427, allocations: 0 / 2.011 GB, free: 39.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/5.429, allocations: 1.425 MB / 2.012 GB, free: 38.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/5.43, allocations: 207 kB / 2.012 GB, free: 37.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/5.435, allocations: 2.4 MB / 2.015 GB, free: 35.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/5.436, allocations: 1.113 MB / 2.016 GB, free: 34.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001792/5.438, allocations: 0.8056 MB / 2.017 GB, free: 33.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008087/5.439, allocations: 0.5379 MB / 2.017 GB, free: 33.07 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/5.439, allocations: 0 / 2.017 GB, free: 33.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5999/6.038, allocations: 53.33 MB / 2.069 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/6.039, allocations: 239.2 kB / 2.07 GB, free: 82.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.414/10.45, allocations: 0.6875 kB / 2.07 GB, free: 82.52 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)