Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.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.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",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.001142/0.001146, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0009116/0.000912, allocations: 183.5 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8867/0.8867, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 8 kB / 0.4943 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 82.85 MB / 0.5752 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.5748/0.7768, allocations: 10.83 MB / 0.5857 GB, free: 10.25 MB / 446.3 MB Notification: Performance of NFInst.instExpressions: time 0.008906/0.7857, allocations: 6.682 MB / 0.5923 GB, free: 8.551 MB / 446.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.7859, allocations: 4.969 kB / 0.5923 GB, free: 8.547 MB / 446.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.7862, allocations: 41.5 kB / 0.5923 GB, free: 8.535 MB / 446.3 MB Notification: Performance of NFTyping.typeBindings: time 0.009988/0.7962, allocations: 2.444 MB / 0.5947 GB, free: 7.555 MB / 446.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.7969, allocations: 173.7 kB / 0.5949 GB, free: 7.461 MB / 446.3 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.7975, allocations: 450.2 kB / 0.5953 GB, free: 7.285 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.7976, allocations: 37.73 kB / 0.5953 GB, free: 7.27 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.7979, allocations: 180.4 kB / 0.5955 GB, free: 7.223 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.7982, allocations: 231.8 kB / 0.5957 GB, free: 7.152 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.7983, allocations: 19.97 kB / 0.5957 GB, free: 7.152 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.8118, allocations: 5.867 MB / 0.6015 GB, free: 5.469 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.812, allocations: 157.5 kB / 0.6016 GB, free: 5.379 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.8122, allocations: 112 kB / 0.6017 GB, free: 5.32 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.8164, allocations: 2.385 MB / 0.6041 GB, free: 3.969 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8164, allocations: 4 kB / 0.6041 GB, free: 3.965 MB / 446.3 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8164, allocations: 3.938 kB / 0.6041 GB, free: 3.961 MB / 446.3 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.8164, allocations: 0 / 0.6041 GB, free: 3.961 MB / 446.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.004379/0.8208, allocations: 1.322 MB / 0.6054 GB, free: 3.102 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.8209, allocations: 9.25 kB / 0.6054 GB, free: 3.102 MB / 446.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.8211, allocations: 101.6 kB / 0.6055 GB, free: 3.016 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.8216, allocations: 104.1 kB / 0.6056 GB, free: 2.961 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.8222, allocations: 343.2 kB / 0.6059 GB, free: 2.672 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.8223, allocations: 43.75 kB / 0.6059 GB, free: 2.652 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.8224, allocations: 68.33 kB / 0.606 GB, free: 2.625 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.8244, allocations: 0.9355 MB / 0.6069 GB, free: 2.055 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.8245, allocations: 3.938 kB / 0.6069 GB, free: 2.051 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.8245, allocations: 26.47 kB / 0.6069 GB, free: 2.031 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.8246, allocations: 15.28 kB / 0.6069 GB, free: 2.031 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.8263, allocations: 0.8165 MB / 0.6077 GB, free: 1.668 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.829, allocations: 2.351 MB / 0.61 GB, free: 15.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.8309, allocations: 0.8929 MB / 0.6109 GB, free: 15.39 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06699/0.8979, allocations: 32.31 MB / 0.6425 GB, free: 15.8 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/0.898, allocations: 51.05 kB / 0.6425 GB, free: 15.75 MB / 494.3 MB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/0.898, allocations: 0 / 0.6425 GB, free: 15.75 MB / 494.3 MB Notification: Performance of matching and sorting (n=102): time 0.02689/0.9249, allocations: 7.457 MB / 0.6498 GB, free: 8.238 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.925, allocations: 60.41 kB / 0.6499 GB, free: 8.168 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.9252, allocations: 169.3 kB / 0.65 GB, free: 7.996 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.9253, allocations: 45.7 kB / 0.6501 GB, free: 7.945 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.9255, allocations: 189 kB / 0.6502 GB, free: 7.754 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.9258, allocations: 378.6 kB / 0.6506 GB, free: 7.379 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.9259, allocations: 20 kB / 0.6506 GB, free: 7.359 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.9261, allocations: 358.7 kB / 0.651 GB, free: 7 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.9269, allocations: 0.4905 MB / 0.6514 GB, free: 6.512 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/0.9278, allocations: 0.6202 MB / 0.6521 GB, free: 5.855 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/0.9287, allocations: 0.5847 MB / 0.6526 GB, free: 5.273 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9288, allocations: 0 / 0.6526 GB, free: 5.273 MB / 494.3 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00248/0.9312, allocations: 1.516 MB / 0.6541 GB, free: 3.715 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.9313, allocations: 8 kB / 0.6541 GB, free: 3.707 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9313, allocations: 0 / 0.6541 GB, free: 3.707 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.9328, allocations: 392.5 kB / 0.6545 GB, free: 3.293 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.9338, allocations: 227.7 kB / 0.6547 GB, free: 3.07 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.9383, allocations: 5.711 MB / 0.6603 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/0.939, allocations: 48 kB / 0.6603 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.9391, allocations: 39.98 kB / 0.6604 GB, free: 13.02 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (state[10].phase,state[9].phase,state[8].phase,state[7].phase,state[6].phase,state[5].phase,state[4].phase,state[3].phase,state[2].phase,state[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005003/0.9396, allocations: 253.5 kB / 0.6606 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.9397, allocations: 43.53 kB / 0.6606 GB, free: 12.71 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005345/0.9451, allocations: 4.201 MB / 0.6647 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.9451, allocations: 43.91 kB / 0.6648 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.9452, allocations: 0 / 0.6648 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.9452, allocations: 7.969 kB / 0.6648 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.9472, allocations: 1.631 MB / 0.6664 GB, free: 6.703 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.9473, allocations: 0 / 0.6664 GB, free: 6.703 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.948, allocations: 179.8 kB / 0.6666 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.9502, allocations: 0.6438 MB / 0.6672 GB, free: 5.852 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/0.9503, allocations: 51.89 kB / 0.6672 GB, free: 5.801 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00413/0.9545, allocations: 6.055 MB / 0.6732 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.9545, allocations: 0 / 0.6732 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.9593, allocations: 4.239 MB / 0.6773 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.9595, allocations: 171.7 kB / 0.6775 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.9596, allocations: 39.97 kB / 0.6775 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.96, allocations: 35.97 kB / 0.6775 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.9601, allocations: 72.89 kB / 0.6776 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.9602, allocations: 35.98 kB / 0.6776 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001021/0.9603, allocations: 120.8 kB / 0.6777 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9603, allocations: 3.938 kB / 0.6778 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.003719/0.964, allocations: 0.9918 MB / 0.6787 GB, free: 9.676 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10]) * Number of discrete variables: 20 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00987/0.9739, allocations: 5.674 MB / 0.6843 GB, free: 3.891 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00292/0.9769, allocations: 1.844 MB / 0.6861 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.9769, allocations: 0 / 0.6861 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.979, allocations: 1.463 MB / 0.6875 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.9801, allocations: 203.9 kB / 0.6877 GB, free: 380 kB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.9923, allocations: 9.178 MB / 0.6966 GB, free: 7.074 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.9931, allocations: 1.125 MB / 0.6977 GB, free: 5.922 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008756/0.9939, allocations: 0.5118 MB / 0.6982 GB, free: 5.406 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.9943, allocations: 323.3 kB / 0.6986 GB, free: 5.094 MB / 0.5295 GB Notification: Performance of SimCode: time 1.323e-06/0.9944, allocations: 0 / 0.6986 GB, free: 5.094 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08858/1.083, allocations: 50 MB / 0.7474 GB, free: 3.336 MB / 0.5764 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/1.083, allocations: 231.8 kB / 0.7476 GB, free: 3.098 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.492/5.575, allocations: 6.391 kB / 0.7476 GB, free: 3.094 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat does not exist to compare? outputFormat=mat