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.01007/0.01007, allocations: 1.769 MB / 18.12 MB, free: 4.906 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 0.8772/0.8772, allocations: 130.6 MB / 151.8 MB, free: 10.23 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.001283/0.001283, allocations: 107.3 kB / 183.1 MB, free: 3.301 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.001474/0.001474, allocations: 211.4 kB / 214.4 MB, free: 7 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.538/1.538, allocations: 230.5 MB / 476.2 MB, free: 5.922 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.1098/0.1098, allocations: 25.54 MB / 0.5724 GB, free: 10.56 MB / 430.1 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.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.003613/0.003613, allocations: 138 kB / 0.7624 GB, free: 7.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4498, allocations: 89.05 MB / 0.8494 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.003525/0.4533, allocations: 2.255 MB / 0.8516 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.4548, allocations: 0.8269 MB / 0.8524 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.4549, allocations: 1.094 kB / 0.8524 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.4549, allocations: 27.77 kB / 0.8524 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.4554, allocations: 145.4 kB / 0.8525 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.4555, allocations: 85.61 kB / 0.8526 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.4559, allocations: 337.9 kB / 0.8529 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.456, allocations: 27.19 kB / 0.853 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.4562, allocations: 120 kB / 0.8531 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.4564, allocations: 124 kB / 0.8532 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.4564, allocations: 19.97 kB / 0.8532 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.4566, allocations: 101.5 kB / 0.8533 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.4567, allocations: 49.69 kB / 0.8534 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.4568, allocations: 121.2 kB / 0.8535 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.4572, allocations: 315.4 kB / 0.8538 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4572, allocations: 0 / 0.8538 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4573, allocations: 0 / 0.8538 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4573, allocations: 4 kB / 0.8538 GB, free: 15.23 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.0008637/0.4581, allocations: 0.526 MB / 0.8543 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4582, allocations: 12.62 kB / 0.8543 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.4582, allocations: 62.66 kB / 0.8544 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.4583, allocations: 28.8 kB / 0.8544 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.4585, allocations: 196.1 kB / 0.8546 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.4586, allocations: 38.7 kB / 0.8546 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.4586, allocations: 20.38 kB / 0.8546 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.4591, allocations: 229.7 kB / 0.8549 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4591, allocations: 0 / 0.8549 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.4591, allocations: 12 kB / 0.8549 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.4591, allocations: 4 kB / 0.8549 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.4595, allocations: 204.7 kB / 0.8551 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.4615, allocations: 1.532 MB / 0.8566 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.4619, allocations: 158.6 kB / 0.8567 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.462, allocations: 60.89 kB / 0.8568 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.4623, allocations: 352.3 kB / 0.8571 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.4624, allocations: 38.56 kB / 0.8571 GB, free: 11.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.4624, allocations: 0 / 0.8571 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005417/0.4629, allocations: 223.5 kB / 0.8574 GB, free: 11.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.463, allocations: 51.41 kB / 0.8574 GB, free: 11.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4632, allocations: 211.1 kB / 0.8576 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4632, allocations: 33.7 kB / 0.8576 GB, free: 10.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4633, allocations: 172 kB / 0.8578 GB, free: 10.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.4634, allocations: 59.48 kB / 0.8579 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.4635, allocations: 73.59 kB / 0.8579 GB, free: 10.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4636, allocations: 326.8 kB / 0.8582 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4638, allocations: 63.91 kB / 0.8583 GB, free: 10.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.464, allocations: 192 kB / 0.8585 GB, free: 9.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.4644, allocations: 277.8 kB / 0.8587 GB, free: 9.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4644, allocations: 4 kB / 0.8588 GB, free: 9.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005065/0.4649, allocations: 289.6 kB / 0.859 GB, free: 9.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4649, allocations: 12 kB / 0.859 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.465, allocations: 4 kB / 0.859 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.465, allocations: 11.94 kB / 0.8591 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4652, allocations: 67.91 kB / 0.8591 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4652, allocations: 4 kB / 0.8591 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.4654, allocations: 39.72 kB / 0.8592 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.4654, allocations: 19.94 kB / 0.8592 GB, free: 9.082 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.0001359/0.4656, allocations: 141.7 kB / 0.8593 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.4656, allocations: 27.91 kB / 0.8593 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.4661, allocations: 214.2 kB / 0.8595 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4661, allocations: 7.938 kB / 0.8596 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4661, allocations: 4 kB / 0.8596 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4661, allocations: 0 / 0.8596 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.4664, allocations: 281.4 kB / 0.8598 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4664, allocations: 0 / 0.8598 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.4666, allocations: 35.92 kB / 0.8599 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4666, allocations: 0 / 0.8599 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4666, allocations: 8 kB / 0.8599 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.4666, allocations: 3.938 kB / 0.8599 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4666, allocations: 0 / 0.8599 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.467, allocations: 283.2 kB / 0.8601 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4671, allocations: 117 kB / 0.8603 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.4671, allocations: 7.938 kB / 0.8603 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4673, allocations: 7.938 kB / 0.8603 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.4673, allocations: 11.98 kB / 0.8603 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.4673, allocations: 4 kB / 0.8603 GB, free: 7.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001369/0.4674, allocations: 156.6 kB / 0.8604 GB, free: 7.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4674, allocations: 0 / 0.8604 GB, free: 7.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003744/0.4678, allocations: 87.83 kB / 0.8605 GB, free: 7.617 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.0007339/0.4686, allocations: 0.832 MB / 0.8613 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.4689, allocations: 168.6 kB / 0.8615 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4689, allocations: 0 / 0.8615 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.469, allocations: 63.92 kB / 0.8616 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.4694, allocations: 51.22 kB / 0.8616 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.4722, allocations: 2.303 MB / 0.8638 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4725, allocations: 0.7326 MB / 0.8646 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.4727, allocations: 54.25 kB / 0.8646 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.4728, allocations: 55.42 kB / 0.8647 GB, free: 3.133 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.4728, allocations: 0 / 0.8647 GB, free: 3.133 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.5027, allocations: 4.338 MB / 0.8689 GB, free: 14.88 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.144, allocations: 13.06 kB / 0.8689 GB, free: 14.87 MB / 0.5607 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.04 TILMedia_TILMedia_Testers_TestSLEMedium.fmu > TILMedia_TILMedia.Testers.TestSLEMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.17660541299847] Failed to read output from testmodel.py, exit status != 0: 8.218781094998121 8.237225965 7.776539501 Calling exit ...