Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestSLEMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.006164/0.006164, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.539/0.539, allocations: 102.5 MB / 126.5 MB, free: 13.03 MB / 122.8 MB " [Timeout remaining time 179] 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.0007465/0.0007465, allocations: 82.45 kB / 158.3 MB, free: 13.4 MB / 154.8 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.00105/0.00105, allocations: 159 kB / 190.1 MB, free: 31.16 MB / 170.8 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.8804/0.8804, allocations: 177.1 MB / 399 MB, free: 7.531 MB / 314.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.06389/0.06389, allocations: 18.23 MB / 0.4905 GB, free: 0.6211 MB / 410.8 MB " [Timeout remaining time 180] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/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) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestSLEMedium,fileNamePrefix="TILMedia_TILMedia_Testers_TestSLEMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestSLEMedium,fileNamePrefix="TILMedia_TILMedia_Testers_TestSLEMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6825 GB, free: 2.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.365e-05, allocations: 2.281 kB / 0.6825 GB, free: 2.727 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.00225/0.002274, allocations: 2.102 MB / 0.6846 GB, free: 0.6133 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003304, allocations: 0.779 MB / 0.6853 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.003367, allocations: 0 / 0.6853 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.003402, allocations: 27.7 kB / 0.6854 GB, free: 15.8 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.003799, allocations: 143 kB / 0.6855 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.003901, allocations: 95.7 kB / 0.6856 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.004135, allocations: 354.1 kB / 0.6859 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.004196, allocations: 16.59 kB / 0.6859 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004374, allocations: 171.6 kB / 0.6861 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.004489, allocations: 95.78 kB / 0.6862 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.004518, allocations: 20 kB / 0.6862 GB, free: 14.92 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.004652, allocations: 103.8 kB / 0.6863 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.004688, allocations: 47.83 kB / 0.6864 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.004756, allocations: 87.78 kB / 0.6864 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.005063, allocations: 331.1 kB / 0.6868 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.005067, allocations: 0 / 0.6868 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.463e-06/0.005068, allocations: 0 / 0.6868 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.005074, allocations: 0 / 0.6868 GB, free: 14.36 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005654/0.005639, allocations: 465.5 kB / 0.6872 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.005684, allocations: 16.02 kB / 0.6872 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.005729, allocations: 62.72 kB / 0.6873 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.005778, allocations: 32.8 kB / 0.6873 GB, free: 13.76 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.005878, allocations: 144.2 kB / 0.6875 GB, free: 13.59 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.005964, allocations: 64.47 kB / 0.6875 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.005987, allocations: 24.38 kB / 0.6875 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.006272, allocations: 227.1 kB / 0.6878 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006282, allocations: 192 / 0.6878 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.006299, allocations: 11.94 kB / 0.6878 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.006307, allocations: 4 kB / 0.6878 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.006541, allocations: 193 kB / 0.688 GB, free: 13.05 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/0.007495, allocations: 0.6965 MB / 0.6886 GB, free: 12.31 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.007746, allocations: 162.5 kB / 0.6888 GB, free: 12.14 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.007833, allocations: 59.22 kB / 0.6888 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.007941, allocations: 51.97 kB / 0.6889 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.00796, allocations: 30.56 kB / 0.6889 GB, free: 12 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.007962, allocations: 0 / 0.6889 GB, free: 12 MB / 0.4949 GB Notification: Performance of matching and sorting (n=18): time 0.0003455/0.008307, allocations: 221.8 kB / 0.6891 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.00834, allocations: 63.25 kB / 0.6892 GB, free: 11.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.008486, allocations: 219 kB / 0.6894 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.008502, allocations: 37.7 kB / 0.6894 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.008573, allocations: 168 kB / 0.6896 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.008604, allocations: 59.48 kB / 0.6897 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.00867, allocations: 73.59 kB / 0.6897 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.00875, allocations: 326.8 kB / 0.69 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.008838, allocations: 59.97 kB / 0.6901 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.008979, allocations: 196.1 kB / 0.6903 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.009221, allocations: 281.7 kB / 0.6906 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.009225, allocations: 4 kB / 0.6906 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003013/0.009526, allocations: 289.5 kB / 0.6908 GB, free: 9.863 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.009543, allocations: 8 kB / 0.6908 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.00955, allocations: 4 kB / 0.6908 GB, free: 9.852 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.009569, allocations: 8 kB / 0.6909 GB, free: 9.844 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.009716, allocations: 71.84 kB / 0.6909 GB, free: 9.773 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.009723, allocations: 4 kB / 0.6909 GB, free: 9.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.009817, allocations: 35.72 kB / 0.691 GB, free: 9.734 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.009833, allocations: 19.98 kB / 0.691 GB, free: 9.715 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (supercooledPhaseIsUnstable) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 9.458e-05/0.009928, allocations: 149.9 kB / 0.6911 GB, free: 9.559 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.009955, allocations: 23.86 kB / 0.6911 GB, free: 9.535 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.01026, allocations: 213.2 kB / 0.6913 GB, free: 9.324 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01026, allocations: 8 kB / 0.6914 GB, free: 9.316 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01027, allocations: 0 / 0.6914 GB, free: 9.316 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01027, allocations: 3.938 kB / 0.6914 GB, free: 9.312 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.01047, allocations: 228.6 kB / 0.6916 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01047, allocations: 0 / 0.6916 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.01055, allocations: 39.92 kB / 0.6916 GB, free: 9.008 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01055, allocations: 0 / 0.6916 GB, free: 9.008 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01056, allocations: 8 kB / 0.6916 GB, free: 9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01056, allocations: 0 / 0.6916 GB, free: 9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.01057, allocations: 0 / 0.6916 GB, free: 9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.0108, allocations: 280.1 kB / 0.6919 GB, free: 8.711 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.01089, allocations: 43.86 kB / 0.6919 GB, free: 8.668 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01091, allocations: 0 / 0.6919 GB, free: 8.668 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.01098, allocations: 11.98 kB / 0.6919 GB, free: 8.656 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.01101, allocations: 7.984 kB / 0.6919 GB, free: 8.648 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.01102, allocations: 11.94 kB / 0.692 GB, free: 8.637 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.0111, allocations: 148.7 kB / 0.6921 GB, free: 8.492 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.0111, allocations: 0 / 0.6921 GB, free: 8.492 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002615/0.01136, allocations: 79.83 kB / 0.6922 GB, free: 8.414 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (supercooledPhaseIsUnstable) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0004812/0.01184, allocations: 0.8395 MB / 0.693 GB, free: 7.551 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.01208, allocations: 175.6 kB / 0.6932 GB, free: 7.379 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01208, allocations: 0 / 0.6932 GB, free: 7.379 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.01216, allocations: 67.19 kB / 0.6932 GB, free: 7.316 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.0125, allocations: 45.03 kB / 0.6933 GB, free: 7.273 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.01431, allocations: 2.286 MB / 0.6955 GB, free: 4.797 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.01439, allocations: 125.5 kB / 0.6956 GB, free: 4.652 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.01452, allocations: 54.25 kB / 0.6957 GB, free: 4.598 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.0146, allocations: 56.48 kB / 0.6957 GB, free: 4.543 MB / 0.4949 GB Notification: Performance of SimCode: time 1.353e-06/0.0146, allocations: 0 / 0.6957 GB, free: 4.543 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.03149, allocations: 5.159 MB / 0.7008 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.438, allocations: 0 / 0.7008 GB, free: 15.59 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f TILMedia_TILMedia.Testers.TestSLEMedium.pipe ; mkfifo TILMedia_TILMedia.Testers.TestSLEMedium.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestSLEMedium.pipe >> ../files/TILMedia_TILMedia.Testers.TestSLEMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestSLEMedium_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestSLEMedium.fmu > TILMedia_TILMedia.Testers.TestSLEMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.972637184895575] Failed to read output from testmodel.py, exit status != 0: 6.517194801010191 6.526409075 6.519664094 Calling exit ...