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.0116/0.0116, allocations: 1.757 MB / 20.61 MB, free: 1.168 MB / 14.72 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 1.027/1.027, allocations: 130.8 MB / 154.9 MB, free: 9.074 MB / 126.1 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.0014/0.0014, allocations: 115.8 kB / 186.6 MB, free: 2.883 MB / 142.1 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.002047/0.002047, allocations: 213.3 kB / 218.4 MB, free: 5.066 MB / 174.1 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.908/1.908, allocations: 230.6 MB / 480.7 MB, free: 5.73 MB / 318.1 MB " [Timeout remaining time 178] 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.1717/0.1717, allocations: 25.61 MB / 0.5775 GB, free: 8.531 MB / 430.1 MB " [Timeout remaining time 179] 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.3.1 (/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: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004872/0.004872, allocations: 131.8 kB / 0.7696 GB, free: 4.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6416, allocations: 89.27 MB / 0.8567 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.004207/0.6458, allocations: 2.086 MB / 0.8588 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.6475, allocations: 0.7869 MB / 0.8595 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.6476, allocations: 0 / 0.8595 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.611e-05/0.6477, allocations: 31.64 kB / 0.8596 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.6482, allocations: 143 kB / 0.8597 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.6483, allocations: 87.83 kB / 0.8598 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.6487, allocations: 342.3 kB / 0.8601 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.6488, allocations: 20.58 kB / 0.8601 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.649, allocations: 115.6 kB / 0.8602 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.6492, allocations: 115.5 kB / 0.8604 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.6492, allocations: 23.94 kB / 0.8604 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.6494, allocations: 91.86 kB / 0.8605 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.6495, allocations: 55.78 kB / 0.8605 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6497, allocations: 107.5 kB / 0.8606 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.6501, allocations: 306.8 kB / 0.8609 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6502, allocations: 0 / 0.8609 GB, free: 13.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6502, allocations: 0 / 0.8609 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.6502, allocations: 0 / 0.8609 GB, free: 13.59 MB / 0.545 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.0009935/0.6512, allocations: 469.5 kB / 0.8614 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.6512, allocations: 16.03 kB / 0.8614 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.365e-05/0.6513, allocations: 54.72 kB / 0.8614 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.6514, allocations: 28.73 kB / 0.8615 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.6516, allocations: 142.2 kB / 0.8616 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.6517, allocations: 68.41 kB / 0.8617 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.6518, allocations: 16.38 kB / 0.8617 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.6522, allocations: 229.7 kB / 0.8619 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6523, allocations: 0 / 0.8619 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.6523, allocations: 12 kB / 0.8619 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6523, allocations: 4 kB / 0.8619 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.6527, allocations: 197 kB / 0.8621 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.6543, allocations: 0.7042 MB / 0.8628 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.6547, allocations: 157.3 kB / 0.8629 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.6548, allocations: 56.88 kB / 0.863 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.655, allocations: 51.94 kB / 0.863 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6551, allocations: 34.56 kB / 0.8631 GB, free: 11.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.6551, allocations: 3.938 kB / 0.8631 GB, free: 11.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005845/0.6556, allocations: 224.2 kB / 0.8633 GB, free: 11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.6557, allocations: 59.41 kB / 0.8633 GB, free: 10.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.656, allocations: 215.1 kB / 0.8635 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.656, allocations: 25.7 kB / 0.8636 GB, free: 10.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.6562, allocations: 168.1 kB / 0.8637 GB, free: 10.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.6562, allocations: 63.47 kB / 0.8638 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6563, allocations: 73.61 kB / 0.8639 GB, free: 10.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6565, allocations: 322.8 kB / 0.8642 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.6567, allocations: 63.97 kB / 0.8642 GB, free: 9.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.6569, allocations: 188.8 kB / 0.8644 GB, free: 9.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.6574, allocations: 278.1 kB / 0.8647 GB, free: 9.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6574, allocations: 4 kB / 0.8647 GB, free: 9.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005668/0.658, allocations: 293.3 kB / 0.865 GB, free: 9.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.658, allocations: 11.94 kB / 0.865 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.658, allocations: 4 kB / 0.865 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.658, allocations: 15.94 kB / 0.865 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.6583, allocations: 71.84 kB / 0.8651 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6583, allocations: 4 kB / 0.8651 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.6585, allocations: 40.17 kB / 0.8651 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.6585, allocations: 16 kB / 0.8651 GB, free: 8.957 MB / 0.545 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.0001509/0.6587, allocations: 145.7 kB / 0.8653 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.6587, allocations: 23.86 kB / 0.8653 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/0.6592, allocations: 221.4 kB / 0.8655 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6592, allocations: 7.938 kB / 0.8655 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6592, allocations: 0 / 0.8655 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.6592, allocations: 3.984 kB / 0.8655 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.6596, allocations: 228.6 kB / 0.8657 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6596, allocations: 0 / 0.8657 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.6597, allocations: 31.94 kB / 0.8658 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6597, allocations: 3.984 kB / 0.8658 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.6597, allocations: 4 kB / 0.8658 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.6597, allocations: 3.938 kB / 0.8658 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6597, allocations: 4 kB / 0.8658 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.6601, allocations: 277.6 kB / 0.866 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.6602, allocations: 39.81 kB / 0.8661 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.6603, allocations: 4 kB / 0.8661 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.6604, allocations: 11.94 kB / 0.8661 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.6604, allocations: 11.97 kB / 0.8661 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.6604, allocations: 4 kB / 0.8661 GB, free: 7.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001587/0.6606, allocations: 151.1 kB / 0.8662 GB, free: 7.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6606, allocations: 0 / 0.8662 GB, free: 7.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003962/0.661, allocations: 87.83 kB / 0.8663 GB, free: 7.652 MB / 0.545 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.0008007/0.6618, allocations: 0.8255 MB / 0.8671 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.6622, allocations: 170.6 kB / 0.8673 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.6622, allocations: 4 kB / 0.8673 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.6623, allocations: 65.03 kB / 0.8674 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.6628, allocations: 63.72 kB / 0.8674 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.6662, allocations: 2.297 MB / 0.8697 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.6663, allocations: 117.5 kB / 0.8698 GB, free: 3.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002713/0.6666, allocations: 54.19 kB / 0.8698 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.6668, allocations: 55.42 kB / 0.8699 GB, free: 3.762 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.6668, allocations: 0 / 0.8699 GB, free: 3.762 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.7037, allocations: 5.025 MB / 0.8748 GB, free: 14.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.12, allocations: 13.53 kB / 0.8748 GB, free: 14.89 MB / 0.5607 GB " [Timeout remaining time 647] (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: 18.28163867397234] Failed to read output from testmodel.py, exit status != 0: 13.234019414987415 13.260546546 12.605305041 Calling exit ...