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.01006/0.01006, 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.5935/0.5935, allocations: 102.5 MB / 126.6 MB, free: 13.01 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.0008629/0.0008629, allocations: 84.59 kB / 158.3 MB, free: 13.39 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.0013/0.0013, allocations: 164.1 kB / 190.1 MB, free: 31.15 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 1.028/1.028, allocations: 177.1 MB / 399 MB, free: 7.539 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.08293/0.08293, allocations: 18.24 MB / 0.4905 GB, free: 0.625 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 2.164e-06/2.164e-06, allocations: 0 / 0.6825 GB, free: 2.723 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.832e-05, allocations: 2.281 kB / 0.6825 GB, free: 2.719 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.003815/0.003844, allocations: 2.102 MB / 0.6846 GB, free: 0.6055 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.005147, allocations: 0.7713 MB / 0.6853 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.005232, allocations: 8 kB / 0.6853 GB, free: 15.82 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.00528, allocations: 27.7 kB / 0.6854 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.005827, allocations: 146.9 kB / 0.6855 GB, free: 15.65 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.00599, allocations: 91.72 kB / 0.6856 GB, free: 15.56 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.006362, allocations: 358.1 kB / 0.6859 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 7.493e-05/0.006437, allocations: 8.594 kB / 0.6859 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.006684, allocations: 171.7 kB / 0.6861 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.006826, allocations: 99.72 kB / 0.6862 GB, free: 14.93 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.006861, allocations: 20 kB / 0.6862 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.007047, allocations: 99.86 kB / 0.6863 GB, free: 14.81 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.00709, allocations: 51.75 kB / 0.6864 GB, free: 14.76 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.007181, allocations: 91.83 kB / 0.6864 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.007583, allocations: 327.1 kB / 0.6868 GB, free: 14.35 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.007591, allocations: 0 / 0.6868 GB, free: 14.35 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.204e-06/0.007593, allocations: 4 kB / 0.6868 GB, free: 14.35 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.007601, allocations: 0 / 0.6868 GB, free: 14.35 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.0006559/0.008257, allocations: 461.5 kB / 0.6872 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.00831, allocations: 8.031 kB / 0.6872 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.008369, allocations: 58.72 kB / 0.6873 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.008421, allocations: 28.8 kB / 0.6873 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.008544, allocations: 156.2 kB / 0.6874 GB, free: 13.59 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.008631, allocations: 64.47 kB / 0.6875 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.008662, allocations: 20.38 kB / 0.6875 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.008975, allocations: 227.1 kB / 0.6877 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.008986, allocations: 192 / 0.6877 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.009004, allocations: 11.94 kB / 0.6878 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.009012, allocations: 4 kB / 0.6878 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.009261, allocations: 197 kB / 0.6879 GB, free: 13.05 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01035, allocations: 0.7042 MB / 0.6886 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.01063, allocations: 157.6 kB / 0.6888 GB, free: 12.14 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.01071, allocations: 67.06 kB / 0.6888 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.01083, allocations: 47.97 kB / 0.6889 GB, free: 12.03 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.01086, allocations: 34.56 kB / 0.6889 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/0.01086, allocations: 0 / 0.6889 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of matching and sorting (n=18): time 0.0004211/0.01128, allocations: 221.8 kB / 0.6891 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.01133, allocations: 63.25 kB / 0.6892 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.01151, allocations: 219 kB / 0.6894 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.01153, allocations: 29.7 kB / 0.6894 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.01161, allocations: 164.1 kB / 0.6896 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.01165, allocations: 71.47 kB / 0.6897 GB, free: 11.19 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.01173, allocations: 65.61 kB / 0.6897 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.01184, allocations: 330.8 kB / 0.69 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.01193, allocations: 63.97 kB / 0.6901 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.0121, allocations: 198 kB / 0.6903 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.01238, allocations: 276 kB / 0.6906 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.01238, allocations: 0 / 0.6906 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003224/0.0127, allocations: 295.9 kB / 0.6908 GB, free: 9.855 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.01272, allocations: 8 kB / 0.6908 GB, free: 9.848 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.01273, allocations: 4 kB / 0.6908 GB, free: 9.844 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01275, allocations: 4 kB / 0.6908 GB, free: 9.84 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.01289, allocations: 75.83 kB / 0.6909 GB, free: 9.766 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.0129, allocations: 8 kB / 0.6909 GB, free: 9.758 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.013, allocations: 31.72 kB / 0.691 GB, free: 9.727 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.01302, allocations: 20 kB / 0.691 GB, free: 9.707 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 0.0001017/0.01312, allocations: 145.6 kB / 0.6911 GB, free: 9.555 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.01315, allocations: 23.89 kB / 0.6911 GB, free: 9.531 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.01347, allocations: 219.4 kB / 0.6913 GB, free: 9.312 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01347, allocations: 0 / 0.6913 GB, free: 9.312 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01347, allocations: 4 kB / 0.6914 GB, free: 9.309 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01348, allocations: 8.047 kB / 0.6914 GB, free: 9.301 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.01371, allocations: 232.5 kB / 0.6916 GB, free: 9.031 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01371, allocations: 0 / 0.6916 GB, free: 9.031 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.01378, allocations: 31.92 kB / 0.6916 GB, free: 9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.01378, allocations: 8 kB / 0.6916 GB, free: 8.992 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01379, allocations: 4 kB / 0.6916 GB, free: 8.988 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.0138, allocations: 0 / 0.6916 GB, free: 8.988 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0138, allocations: 4 kB / 0.6916 GB, free: 8.984 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.01403, allocations: 279.7 kB / 0.6919 GB, free: 8.699 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.0141, allocations: 35.88 kB / 0.6919 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01412, allocations: 8 kB / 0.6919 GB, free: 8.656 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.01418, allocations: 7.984 kB / 0.6919 GB, free: 8.648 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.01422, allocations: 11.98 kB / 0.692 GB, free: 8.637 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.01423, allocations: 7.938 kB / 0.692 GB, free: 8.629 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 9.075e-05/0.01432, allocations: 148.7 kB / 0.6921 GB, free: 8.484 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01432, allocations: 0 / 0.6921 GB, free: 8.484 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002997/0.01462, allocations: 83.83 kB / 0.6922 GB, free: 8.402 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.0005398/0.01516, allocations: 0.8293 MB / 0.693 GB, free: 7.547 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.01544, allocations: 179.7 kB / 0.6932 GB, free: 7.371 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01544, allocations: 0 / 0.6932 GB, free: 7.371 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.01552, allocations: 63.92 kB / 0.6932 GB, free: 7.309 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.01584, allocations: 44.75 kB / 0.6933 GB, free: 7.27 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.01782, allocations: 2.285 MB / 0.6955 GB, free: 4.797 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.01792, allocations: 125.6 kB / 0.6956 GB, free: 4.652 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.01806, allocations: 58.12 kB / 0.6957 GB, free: 4.594 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.01815, allocations: 56.48 kB / 0.6957 GB, free: 4.539 MB / 0.4949 GB Notification: Performance of SimCode: time 7.21e-07/0.01815, allocations: 0 / 0.6957 GB, free: 4.539 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.04207, allocations: 5.152 MB / 0.7008 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.449, allocations: 12.95 kB / 0.7008 GB, free: 15.58 MB / 0.5105 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestSLEMedium_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 TILMedia_TILMedia_Testers_TestSLEMedium.fmu > TILMedia_TILMedia.Testers.TestSLEMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.650126797147095] Failed to read output from testmodel.py, exit status != 0: 7.53223579376936 7.544930145 7.535421089 Calling exit ...