Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.conf.json 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/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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002335/0.002335, allocations: 105.9 kB / 16.92 MB, free: 6.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 191.5 kB / 17.85 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.724/2.724, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.495/1.495, allocations: 119.3 MB / 411 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.89 kB / 0.491 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8795, allocations: 80.69 MB / 0.5698 GB, free: 43.24 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80): time 0.003272/0.8828, allocations: 1.227 MB / 0.571 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.8831, allocations: 47.11 kB / 0.5711 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.8831, allocations: 0 / 0.5711 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.8832, allocations: 0 / 0.5711 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.8833, allocations: 14.73 kB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.8835, allocations: 16.47 kB / 0.5711 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.8853, allocations: 1.668 MB / 0.5727 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.8855, allocations: 9.219 kB / 0.5728 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.8865, allocations: 0.5739 MB / 0.5733 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.8878, allocations: 0.5257 MB / 0.5738 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.888, allocations: 88.78 kB / 0.5739 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.8883, allocations: 89.94 kB / 0.574 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0005082/0.8888, allocations: 0.4969 MB / 0.5745 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.8896, allocations: 0.5431 MB / 0.575 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.8905, allocations: 0.8865 MB / 0.5759 GB, free: 39.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.8905, allocations: 0 / 0.5759 GB, free: 39.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.515e-06/0.8905, allocations: 5.312 kB / 0.5759 GB, free: 39.56 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.8906, allocations: 0 / 0.5759 GB, free: 39.56 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006508/0.8971, allocations: 2.165 MB / 0.578 GB, free: 38.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.8972, allocations: 8.156 kB / 0.578 GB, free: 38.27 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.8974, allocations: 153.9 kB / 0.5782 GB, free: 38.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.8977, allocations: 98.56 kB / 0.5782 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.8988, allocations: 455.5 kB / 0.5787 GB, free: 37.79 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.8989, allocations: 112.4 kB / 0.5788 GB, free: 37.74 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.8993, allocations: 225.8 kB / 0.579 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.9015, allocations: 1.217 MB / 0.5802 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.9016, allocations: 49.2 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.9018, allocations: 36.84 kB / 0.5803 GB, free: 36.92 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.9018, allocations: 26.7 kB / 0.5803 GB, free: 36.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.9035, allocations: 0.8427 MB / 0.5811 GB, free: 36.55 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.9062, allocations: 1.433 MB / 0.5825 GB, free: 35.67 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.9093, allocations: 1.869 MB / 0.5843 GB, free: 34.53 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.9109, allocations: 0.9358 MB / 0.5853 GB, free: 33.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.911, allocations: 26 kB / 0.5853 GB, free: 33.57 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.9111, allocations: 56.56 kB / 0.5853 GB, free: 33.5 MB / 462.3 MB Notification: Performance of pre-optimization done (n=240): time 5.931e-06/0.9111, allocations: 0 / 0.5853 GB, free: 33.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=240): time 0.02692/0.938, allocations: 6.644 MB / 0.5918 GB, free: 26.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.9382, allocations: 81.39 kB / 0.5919 GB, free: 26.73 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.9384, allocations: 149.8 kB / 0.592 GB, free: 26.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.9387, allocations: 89.64 kB / 0.5921 GB, free: 26.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.9388, allocations: 117.2 kB / 0.5922 GB, free: 26.36 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007892/0.9396, allocations: 0.9703 MB / 0.5932 GB, free: 25.37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006706/0.9403, allocations: 0.5423 MB / 0.5937 GB, free: 24.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9404, allocations: 309.9 kB / 0.594 GB, free: 24.51 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.9419, allocations: 0.9975 MB / 0.595 GB, free: 23.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.9438, allocations: 1.657 MB / 0.5966 GB, free: 21.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/0.9473, allocations: 2.854 MB / 0.5994 GB, free: 18.5 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.9474, allocations: 4 kB / 0.5994 GB, free: 18.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=400) (initialization): time 0.007959/0.9554, allocations: 3.965 MB / 0.6033 GB, free: 14.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.9555, allocations: 16 kB / 0.6033 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/0.9555, allocations: 16 kB / 0.6033 GB, free: 14.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004683/0.9602, allocations: 1.154 MB / 0.6044 GB, free: 13.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.9625, allocations: 0.6359 MB / 0.6051 GB, free: 12.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/0.9786, allocations: 8.887 MB / 0.6137 GB, free: 3.656 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.9809, allocations: 225.6 kB / 0.6139 GB, free: 3.434 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.9813, allocations: 112 kB / 0.6141 GB, free: 3.324 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (321): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,79,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000883/0.9822, allocations: 378.2 kB / 0.6144 GB, free: 2.945 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.9824, allocations: 79.06 kB / 0.6145 GB, free: 2.867 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.983, allocations: 228.3 kB / 0.6147 GB, free: 2.637 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.983, allocations: 24 kB / 0.6147 GB, free: 2.613 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-05/0.9831, allocations: 16.06 kB / 0.6147 GB, free: 2.598 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.9831, allocations: 11.95 kB / 0.6148 GB, free: 2.586 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.9854, allocations: 1.364 MB / 0.6161 GB, free: 1.172 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.9854, allocations: 0 / 0.6161 GB, free: 1.172 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003141/0.9886, allocations: 0.519 MB / 0.6166 GB, free: 0.6523 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006163/0.9948, allocations: 1.131 MB / 0.6177 GB, free: 15.52 MB / 478.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009638/0.9958, allocations: 111.9 kB / 0.6178 GB, free: 15.41 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/1.017, allocations: 8.871 MB / 0.6265 GB, free: 6.383 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.017, allocations: 0 / 0.6265 GB, free: 6.383 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.032, allocations: 5.098 MB / 0.6314 GB, free: 1.254 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/1.033, allocations: 179.7 kB / 0.6316 GB, free: 1.055 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005816/1.033, allocations: 103.9 kB / 0.6317 GB, free: 0.9531 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.035, allocations: 47.94 kB / 0.6318 GB, free: 0.9062 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008425/1.036, allocations: 170.4 kB / 0.6319 GB, free: 0.7422 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/1.036, allocations: 67.97 kB / 0.632 GB, free: 0.6758 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.0001085/1.036, allocations: 75.28 kB / 0.6321 GB, free: 0.6016 MB / 478.3 MB Notification: Performance of sort global known variables: time 1e-07/1.036, allocations: 0 / 0.6321 GB, free: 0.6016 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.002968/1.039, allocations: 0.5586 MB / 0.6326 GB, free: 44 kB / 478.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 160 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],xm[41],xm[42],xm[43],xm[44],xm[45],xm[46],xm[47],xm[48],xm[49],xm[50],xm[51],xm[52],xm[53],xm[54],xm[55],xm[56],xm[57],xm[58],xm[59],xm[60],xm[61],xm[62],xm[63],xm[64],xm[65],xm[66],xm[67],xm[68],xm[69],xm[70],xm[71],xm[72],xm[73],xm[74],xm[75],xm[76],xm[77],xm[78],xm[79],xm[80],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80]) * 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 (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,79,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01338/1.052, allocations: 5.797 MB / 0.6383 GB, free: 10.2 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01417/1.067, allocations: 5.697 MB / 0.6438 GB, free: 4.496 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.067, allocations: 4 kB / 0.6438 GB, free: 4.492 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.007012/1.074, allocations: 1.939 MB / 0.6457 GB, free: 2.543 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.076, allocations: 80 kB / 0.6458 GB, free: 2.465 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06063/1.136, allocations: 27.79 MB / 0.6729 GB, free: 5.82 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/1.138, allocations: 1.212 MB / 0.6741 GB, free: 4.574 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.002667/1.141, allocations: 0.5925 MB / 0.6747 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/1.142, allocations: 363.3 kB / 0.6751 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of SimCode: time 4.158e-06/1.142, allocations: 0 / 0.6751 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.26, allocations: 36.95 MB / 0.7111 GB, free: 14.88 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/17.24, allocations: 8.406 kB / 0.7111 GB, free: 14.88 MB / 0.5608 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80_res.csv --start-time 0 --stop-time 10 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe 2>&1)