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.01042/0.01042, allocations: 1.771 MB / 18.82 MB, free: 4.355 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.9136/0.9136, allocations: 130.6 MB / 152.5 MB, free: 10.22 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.001236/0.001236, allocations: 109.2 kB / 183.8 MB, free: 3.516 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.001662/0.001662, allocations: 216 kB / 215.1 MB, free: 7.344 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.665/1.665, allocations: 230.5 MB / 476.9 MB, free: 5.879 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.1221/0.1221, allocations: 25.55 MB / 0.5731 GB, free: 10.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestSLEMedium,fileNamePrefix="TILMedia_TILMedia_Testers_TestSLEMedium",fmuType="cs",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.003833/0.003833, allocations: 131.8 kB / 0.7631 GB, free: 7.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5269, allocations: 89.06 MB / 0.85 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.003694/0.5306, allocations: 2.245 MB / 0.8522 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.5322, allocations: 0.8311 MB / 0.853 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.5323, allocations: 1.188 kB / 0.853 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.991e-05/0.5324, allocations: 27.7 kB / 0.8531 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.5329, allocations: 153.7 kB / 0.8532 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.5331, allocations: 77.3 kB / 0.8533 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000415/0.5335, allocations: 345.1 kB / 0.8536 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.5336, allocations: 15.86 kB / 0.8536 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.5338, allocations: 120.2 kB / 0.8538 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.534, allocations: 131.1 kB / 0.8539 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.534, allocations: 20.91 kB / 0.8539 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.5342, allocations: 100.6 kB / 0.854 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.5343, allocations: 46.97 kB / 0.854 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.5344, allocations: 124.4 kB / 0.8542 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.5349, allocations: 318.8 kB / 0.8545 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5349, allocations: 0 / 0.8545 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5349, allocations: 0 / 0.8545 GB, free: 15.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5349, allocations: 0 / 0.8545 GB, free: 15.27 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.0008259/0.5357, allocations: 0.5299 MB / 0.855 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5357, allocations: 12.62 kB / 0.855 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.523e-05/0.5358, allocations: 4.625 kB / 0.855 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.5358, allocations: 62.72 kB / 0.8551 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.5359, allocations: 24.8 kB / 0.8551 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.5361, allocations: 188.1 kB / 0.8553 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/0.5362, allocations: 42.7 kB / 0.8553 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.5362, allocations: 28.12 kB / 0.8553 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.5366, allocations: 225.7 kB / 0.8555 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5366, allocations: 7.938 kB / 0.8555 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.5367, allocations: 12 kB / 0.8556 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.5367, allocations: 4 kB / 0.8556 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.5371, allocations: 192.8 kB / 0.8557 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.539, allocations: 1.544 MB / 0.8573 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.5394, allocations: 158.1 kB / 0.8574 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.5396, allocations: 56.84 kB / 0.8575 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.5399, allocations: 352.4 kB / 0.8578 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.5399, allocations: 34.56 kB / 0.8578 GB, free: 11.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/0.5399, allocations: 3.984 kB / 0.8578 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005523/0.5405, allocations: 228 kB / 0.8581 GB, free: 11.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5405, allocations: 55.41 kB / 0.8581 GB, free: 11.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.5408, allocations: 211.1 kB / 0.8583 GB, free: 10.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.5408, allocations: 29.7 kB / 0.8583 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.5409, allocations: 168 kB / 0.8585 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.541, allocations: 59.48 kB / 0.8586 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.5411, allocations: 77.59 kB / 0.8586 GB, free: 10.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5412, allocations: 326.8 kB / 0.8589 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.5414, allocations: 63.97 kB / 0.859 GB, free: 10.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.5416, allocations: 192 kB / 0.8592 GB, free: 9.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.542, allocations: 277.9 kB / 0.8594 GB, free: 9.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.542, allocations: 0 / 0.8594 GB, free: 9.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005215/0.5426, allocations: 295.3 kB / 0.8597 GB, free: 9.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5426, allocations: 8.562 kB / 0.8597 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5426, allocations: 8 kB / 0.8597 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.5426, allocations: 7.938 kB / 0.8598 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.5429, allocations: 67.91 kB / 0.8598 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5429, allocations: 11.94 kB / 0.8598 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.543, allocations: 35.72 kB / 0.8599 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.5431, allocations: 20 kB / 0.8599 GB, free: 9.109 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.0001437/0.5432, allocations: 141.7 kB / 0.86 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.5433, allocations: 15.91 kB / 0.86 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.5438, allocations: 227.3 kB / 0.8602 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.5438, allocations: 0 / 0.8602 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5438, allocations: 0 / 0.8602 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5438, allocations: 4 kB / 0.8603 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.5442, allocations: 285.4 kB / 0.8605 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5442, allocations: 112 / 0.8605 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.5443, allocations: 31.92 kB / 0.8606 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5443, allocations: 0 / 0.8606 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5443, allocations: 7.938 kB / 0.8606 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5443, allocations: 3.938 kB / 0.8606 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5443, allocations: 7.938 kB / 0.8606 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.5447, allocations: 281.7 kB / 0.8608 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.5449, allocations: 117 kB / 0.861 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.5449, allocations: 7.938 kB / 0.861 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5451, allocations: 8 kB / 0.861 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.5451, allocations: 7.984 kB / 0.861 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5451, allocations: 8 kB / 0.861 GB, free: 7.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001551/0.5453, allocations: 156.6 kB / 0.8611 GB, free: 7.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5453, allocations: 0 / 0.8611 GB, free: 7.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004229/0.5457, allocations: 83.83 kB / 0.8612 GB, free: 7.648 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.0008148/0.5465, allocations: 0.8299 MB / 0.862 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.5469, allocations: 175.2 kB / 0.8622 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5469, allocations: 8 kB / 0.8622 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.547, allocations: 59.92 kB / 0.8623 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.5475, allocations: 39.97 kB / 0.8623 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.5504, allocations: 2.3 MB / 0.8645 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5508, allocations: 0.7326 MB / 0.8653 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.5509, allocations: 50.25 kB / 0.8653 GB, free: 3.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.551, allocations: 59.47 kB / 0.8654 GB, free: 3.156 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.5511, allocations: 3.938 kB / 0.8654 GB, free: 3.152 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.5722, allocations: 4.381 MB / 0.8696 GB, free: 14.86 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/9.149, allocations: 8.641 kB / 0.8696 GB, free: 14.86 MB / 0.5607 GB " [Timeout remaining time 651] (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.04 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestSLEMedium.fmu > TILMedia_TILMedia.Testers.TestSLEMedium.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.429797351011075] Failed to read output from testmodel.py, exit status != 0: 9.272921634023078 9.29122865 8.75316495 Calling exit ...