Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007972/0.0007972, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008732/0.0008732, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8328/0.8328, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5919/0.5919, allocations: 88.06 MB / 348.7 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5246 GB, free: 2.488 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.636e-05, allocations: 5.516 kB / 0.5246 GB, free: 2.484 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001702/0.001719, allocations: 1.449 MB / 0.526 GB, free: 1.027 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002578/0.001976, allocations: 91.61 kB / 0.5261 GB, free: 0.9375 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.002018, allocations: 4 kB / 0.5261 GB, free: 0.9336 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.002132, allocations: 7.922 kB / 0.5261 GB, free: 0.9258 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.002243, allocations: 63.58 kB / 0.5261 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.002463, allocations: 39.92 kB / 0.5262 GB, free: 0.8242 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006909/0.003154, allocations: 1.221 MB / 0.5274 GB, free: 15.6 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.003205, allocations: 15.86 kB / 0.5274 GB, free: 15.59 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000629/0.003834, allocations: 0.5735 MB / 0.5279 GB, free: 15.01 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.004395, allocations: 0.5185 MB / 0.5285 GB, free: 14.49 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.004497, allocations: 60 kB / 0.5285 GB, free: 14.43 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.004584, allocations: 64 kB / 0.5286 GB, free: 14.37 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.0048, allocations: 391.1 kB / 0.5289 GB, free: 13.99 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.00504, allocations: 327.4 kB / 0.5293 GB, free: 13.67 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.005528, allocations: 0.7323 MB / 0.53 GB, free: 12.93 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.00553, allocations: 3.938 kB / 0.53 GB, free: 12.93 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005531, allocations: 4 kB / 0.53 GB, free: 12.93 MB / 458.8 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.005541, allocations: 3.938 kB / 0.53 GB, free: 12.92 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002235/0.007776, allocations: 1.36 MB / 0.5313 GB, free: 11.53 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.00782, allocations: 12.03 kB / 0.5313 GB, free: 11.52 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.4e-05/0.007914, allocations: 98.7 kB / 0.5314 GB, free: 11.41 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.008014, allocations: 64.59 kB / 0.5315 GB, free: 11.35 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.008398, allocations: 301 kB / 0.5318 GB, free: 11.03 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.008432, allocations: 53.69 kB / 0.5318 GB, free: 10.98 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.008548, allocations: 96.28 kB / 0.5319 GB, free: 10.88 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.00949, allocations: 0.8851 MB / 0.5328 GB, free: 9.988 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.009503, allocations: 192 / 0.5328 GB, free: 9.988 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.009554, allocations: 20.38 kB / 0.5328 GB, free: 9.969 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.009565, allocations: 16.12 kB / 0.5328 GB, free: 9.953 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/0.01046, allocations: 0.7702 MB / 0.5336 GB, free: 9.184 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.01383, allocations: 2.311 MB / 0.5358 GB, free: 6.82 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.01492, allocations: 0.9328 MB / 0.5367 GB, free: 5.879 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.01557, allocations: 0.6173 MB / 0.5373 GB, free: 5.262 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/0.01564, allocations: 13 kB / 0.5373 GB, free: 5.25 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.01567, allocations: 43.56 kB / 0.5374 GB, free: 5.199 MB / 458.8 MB Notification: Performance of pre-optimization done (n=99): time 2.624e-06/0.01567, allocations: 3.938 kB / 0.5374 GB, free: 5.195 MB / 458.8 MB Notification: Performance of matching and sorting (n=99): time 0.001937/0.01761, allocations: 1.648 MB / 0.539 GB, free: 3.543 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.01765, allocations: 64.39 kB / 0.5391 GB, free: 3.465 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.01774, allocations: 141.8 kB / 0.5392 GB, free: 3.316 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.01781, allocations: 53.7 kB / 0.5392 GB, free: 3.258 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.01788, allocations: 150 kB / 0.5394 GB, free: 3.105 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.01812, allocations: 436.3 kB / 0.5398 GB, free: 2.676 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.01835, allocations: 227 kB / 0.54 GB, free: 2.449 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01847, allocations: 366.8 kB / 0.5404 GB, free: 2.082 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.0191, allocations: 0.5686 MB / 0.5409 GB, free: 1.512 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.01978, allocations: 0.6638 MB / 0.5416 GB, free: 0.8398 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.0211, allocations: 1.254 MB / 0.5428 GB, free: 15.58 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.02111, allocations: 0 / 0.5428 GB, free: 15.58 MB / 474.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001558/0.02267, allocations: 1.473 MB / 0.5442 GB, free: 14.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.02268, allocations: 8.031 kB / 0.5442 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02269, allocations: 0 / 0.5442 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.0227, allocations: 7.938 kB / 0.5443 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.02376, allocations: 0.5268 MB / 0.5448 GB, free: 13.56 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.02378, allocations: 8 kB / 0.5448 GB, free: 13.55 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.02417, allocations: 119.3 kB / 0.5449 GB, free: 13.43 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.02422, allocations: 36 kB / 0.5449 GB, free: 13.4 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (157): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.02442, allocations: 217.5 kB / 0.5451 GB, free: 13.18 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.02449, allocations: 47.7 kB / 0.5452 GB, free: 13.13 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.02465, allocations: 148 kB / 0.5453 GB, free: 12.98 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.02465, allocations: 15.94 kB / 0.5453 GB, free: 12.97 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.02466, allocations: 3.984 kB / 0.5453 GB, free: 12.96 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.02467, allocations: 3.984 kB / 0.5453 GB, free: 12.96 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.02537, allocations: 0.7039 MB / 0.546 GB, free: 12.21 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02537, allocations: 0 / 0.546 GB, free: 12.21 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.0267, allocations: 0.5269 MB / 0.5465 GB, free: 11.69 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.02671, allocations: 4 kB / 0.5465 GB, free: 11.68 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.02678, allocations: 43.95 kB / 0.5466 GB, free: 11.64 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.02679, allocations: 7.938 kB / 0.5466 GB, free: 11.63 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02679, allocations: 0 / 0.5466 GB, free: 11.63 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.02884, allocations: 1.968 MB / 0.5485 GB, free: 9.648 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.02887, allocations: 43.58 kB / 0.5486 GB, free: 9.605 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.02896, allocations: 39.97 kB / 0.5486 GB, free: 9.566 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.02928, allocations: 55.88 kB / 0.5486 GB, free: 9.512 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.0294, allocations: 60.88 kB / 0.5487 GB, free: 9.453 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.02944, allocations: 23.98 kB / 0.5487 GB, free: 9.43 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.02949, allocations: 102.1 kB / 0.5488 GB, free: 9.332 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02949, allocations: 4 kB / 0.5488 GB, free: 9.328 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0004023/0.02989, allocations: 315.8 kB / 0.5491 GB, free: 9.02 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002249/0.03214, allocations: 2.55 MB / 0.5516 GB, free: 6.441 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.03345, allocations: 1.236 MB / 0.5528 GB, free: 5.203 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.03346, allocations: 3.938 kB / 0.5528 GB, free: 5.199 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.03408, allocations: 0.6186 MB / 0.5534 GB, free: 4.582 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.03459, allocations: 139.8 kB / 0.5536 GB, free: 4.445 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00875/0.04334, allocations: 10.01 MB / 0.5633 GB, free: 10.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.04353, allocations: 322.3 kB / 0.5637 GB, free: 9.992 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000569/0.0441, allocations: 396.5 kB / 0.564 GB, free: 9.602 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.04444, allocations: 192.4 kB / 0.5642 GB, free: 9.414 MB / 490.8 MB Notification: Performance of SimCode: time 9.62e-07/0.04444, allocations: 0 / 0.5642 GB, free: 9.414 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.07427, allocations: 19 MB / 0.5828 GB, free: 6.777 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.084, allocations: 0.5625 kB / 0.5828 GB, free: 6.777 MB / 0.4949 GB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.008 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 9.78710014000535] Failed to read output from testmodel.py, exit status != 0: 7.168473597615957 7.177648036 7.170363542 Calling exit ...