Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.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/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 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(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_40",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.001031/0.001031, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.318/1.318, allocations: 221.3 MB / 235.5 MB, free: 2.891 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.0008982/0.0008982, allocations: 91.86 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.032/1.032, allocations: 120.4 MB / 457.9 MB, free: 6.957 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.258e-05, allocations: 4 kB / 0.5358 GB, free: 12.01 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.6056, allocations: 82.84 MB / 0.6167 GB, free: 9.32 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.7651, allocations: 125.3 MB / 0.7391 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.7653, allocations: 63.95 kB / 0.7392 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02713/0.7925, allocations: 8.031 MB / 0.747 GB, free: 3.742 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7925, allocations: 0 / 0.747 GB, free: 3.742 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.7926, allocations: 4 kB / 0.747 GB, free: 3.738 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00291/0.7955, allocations: 0.8851 MB / 0.7479 GB, free: 2.805 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.7955, allocations: 12.03 kB / 0.7479 GB, free: 2.793 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.7957, allocations: 70.53 kB / 0.7479 GB, free: 2.715 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.7959, allocations: 43.58 kB / 0.748 GB, free: 2.672 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.7963, allocations: 262.7 kB / 0.7482 GB, free: 2.375 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.7964, allocations: 32.72 kB / 0.7483 GB, free: 2.344 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.7965, allocations: 71.78 kB / 0.7483 GB, free: 2.273 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.7973, allocations: 431.5 kB / 0.7487 GB, free: 1.844 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.7973, allocations: 0 / 0.7487 GB, free: 1.844 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.7973, allocations: 16 kB / 0.7488 GB, free: 1.828 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.7974, allocations: 11.95 kB / 0.7488 GB, free: 1.816 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.7978, allocations: 243 kB / 0.749 GB, free: 1.578 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6607/1.458, allocations: 3.51 MB / 0.7524 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/1.473, allocations: 2.052 MB / 0.7544 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/1.474, allocations: 188.2 kB / 0.7546 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 6.5e-05/1.474, allocations: 4.766 kB / 0.7546 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/1.474, allocations: 36.41 kB / 0.7547 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=39): time 4.388e-06/1.474, allocations: 0.8125 kB / 0.7547 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=39): time 0.0009934/1.475, allocations: 455.8 kB / 0.7551 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/1.475, allocations: 55.94 kB / 0.7551 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/1.475, allocations: 113.8 kB / 0.7553 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/1.475, allocations: 40.45 kB / 0.7553 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/1.475, allocations: 143.3 kB / 0.7554 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.475, allocations: 183 kB / 0.7556 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/1.475, allocations: 12.44 kB / 0.7556 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/1.476, allocations: 340.9 kB / 0.7559 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/1.476, allocations: 225.9 kB / 0.7562 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/1.476, allocations: 235.3 kB / 0.7564 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/1.477, allocations: 275.8 kB / 0.7566 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.477, allocations: 0.6562 kB / 0.7566 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001234/1.478, allocations: 0.6226 MB / 0.7573 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.478, allocations: 9 kB / 0.7573 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.478, allocations: 0.875 kB / 0.7573 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.478, allocations: 2.625 kB / 0.7573 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.479, allocations: 167.1 kB / 0.7574 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/1.479, allocations: 9.891 kB / 0.7574 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007088/1.48, allocations: 90.2 kB / 0.7575 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/1.48, allocations: 17.44 kB / 0.7575 GB, free: 128.4 MB / 0.5421 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 (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.48, allocations: 133 kB / 0.7577 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/1.48, allocations: 18.44 kB / 0.7577 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/1.481, allocations: 74.91 kB / 0.7578 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.481, allocations: 3.969 kB / 0.7578 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.481, allocations: 1.344 kB / 0.7578 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.481, allocations: 11.09 kB / 0.7578 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/1.481, allocations: 420.9 kB / 0.7582 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.481, allocations: 0 / 0.7582 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.482, allocations: 123.9 kB / 0.7583 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.482, allocations: 6.469 kB / 0.7583 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/1.482, allocations: 27.03 kB / 0.7583 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.482, allocations: 6.266 kB / 0.7583 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.482, allocations: 0 / 0.7583 GB, free: 128 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.484, allocations: 0.7413 MB / 0.7591 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/1.484, allocations: 98.16 kB / 0.7591 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/1.484, allocations: 21.92 kB / 0.7592 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/1.484, allocations: 65.81 kB / 0.7592 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/1.485, allocations: 25.69 kB / 0.7593 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/1.485, allocations: 10.81 kB / 0.7593 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.205e-05/1.485, allocations: 90.73 kB / 0.7593 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.6e-07/1.485, allocations: 0.5312 kB / 0.7593 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006608/1.485, allocations: 176.6 kB / 0.7595 GB, free: 127.4 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 39 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001507/1.487, allocations: 1.312 MB / 0.7608 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0009192/1.488, allocations: 0.5011 MB / 0.7613 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.488, allocations: 0 / 0.7613 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/1.488, allocations: 219.5 kB / 0.7615 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/1.489, allocations: 89.7 kB / 0.7616 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/1.492, allocations: 3.145 MB / 0.7647 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/1.492, allocations: 0.8171 MB / 0.7655 GB, free: 123.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006402/1.493, allocations: 192.8 kB / 0.7656 GB, free: 123.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/1.493, allocations: 106.4 kB / 0.7657 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of SimCode: time 1.102e-06/1.493, allocations: 3.938 kB / 0.7657 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/1.515, allocations: 9.297 MB / 0.7748 GB, free: 116.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/1.516, allocations: 195.6 kB / 0.775 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/3.629, allocations: 6.953 kB / 0.775 GB, free: 116.2 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_40_fmu --startTime=0 --stopTime=1500 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat does not exist to compare? outputFormat=mat