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.01534/0.01534, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.9146/0.9146, allocations: 130.8 MB / 154.9 MB, free: 9.148 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.001323/0.001323, allocations: 110.3 kB / 186.6 MB, free: 3.02 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.001589/0.001589, allocations: 218.8 kB / 218.5 MB, free: 5.562 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.617/1.617, allocations: 230.6 MB / 480.8 MB, free: 4.797 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.1117/0.1117, allocations: 25.55 MB / 0.5774 GB, free: 8.852 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.003738/0.003738, allocations: 131.8 kB / 0.7696 GB, free: 4.699 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5059, allocations: 89.26 MB / 0.8568 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.003612/0.5095, allocations: 2.255 MB / 0.859 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.5109, allocations: 0.8412 MB / 0.8598 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.511, allocations: 4 kB / 0.8598 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.5111, allocations: 27.7 kB / 0.8598 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.5115, allocations: 143.1 kB / 0.86 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.5117, allocations: 95.77 kB / 0.8601 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.512, allocations: 338.3 kB / 0.8604 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.092e-05/0.5121, allocations: 12.58 kB / 0.8604 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.5123, allocations: 123.6 kB / 0.8605 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.5125, allocations: 123.5 kB / 0.8606 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.5125, allocations: 24 kB / 0.8607 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.5127, allocations: 99.86 kB / 0.8608 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.5127, allocations: 51.78 kB / 0.8608 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.5129, allocations: 119.5 kB / 0.8609 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.5133, allocations: 310.7 kB / 0.8612 GB, free: 13.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5133, allocations: 0 / 0.8612 GB, free: 13.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5133, allocations: 0 / 0.8612 GB, free: 13.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5133, allocations: 4 kB / 0.8612 GB, free: 13.64 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.0008311/0.5141, allocations: 477.4 kB / 0.8617 GB, free: 13.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5141, allocations: 8.031 kB / 0.8617 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.5142, allocations: 54.73 kB / 0.8617 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.5143, allocations: 24.8 kB / 0.8618 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5144, allocations: 138.2 kB / 0.8619 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5145, allocations: 72.41 kB / 0.862 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.5146, allocations: 16.38 kB / 0.862 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.515, allocations: 229.7 kB / 0.8622 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.515, allocations: 0 / 0.8622 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.515, allocations: 12 kB / 0.8622 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.515, allocations: 7.938 kB / 0.8622 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.5154, allocations: 189 kB / 0.8624 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.5169, allocations: 0.9054 MB / 0.8633 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.5173, allocations: 169.2 kB / 0.8634 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.5174, allocations: 56.88 kB / 0.8635 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.5176, allocations: 47.95 kB / 0.8635 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5176, allocations: 34.56 kB / 0.8636 GB, free: 11.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.5176, allocations: 0 / 0.8636 GB, free: 11.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005313/0.5181, allocations: 225.7 kB / 0.8638 GB, free: 10.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.5182, allocations: 55.41 kB / 0.8638 GB, free: 10.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.5184, allocations: 207.1 kB / 0.864 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.5184, allocations: 29.7 kB / 0.8641 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5185, allocations: 164 kB / 0.8642 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.5186, allocations: 71.45 kB / 0.8643 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.5187, allocations: 73.61 kB / 0.8644 GB, free: 10.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5188, allocations: 326.8 kB / 0.8647 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.519, allocations: 63.97 kB / 0.8647 GB, free: 9.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.5192, allocations: 184.9 kB / 0.8649 GB, free: 9.562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.5196, allocations: 277.8 kB / 0.8652 GB, free: 9.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5196, allocations: 0 / 0.8652 GB, free: 9.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004941/0.5201, allocations: 299.3 kB / 0.8655 GB, free: 8.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5202, allocations: 8.562 kB / 0.8655 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5202, allocations: 4 kB / 0.8655 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.5202, allocations: 11.94 kB / 0.8655 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.5204, allocations: 71.91 kB / 0.8656 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.5204, allocations: 11.94 kB / 0.8656 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.5206, allocations: 35.72 kB / 0.8656 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.5206, allocations: 20 kB / 0.8656 GB, free: 8.777 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.0001368/0.5208, allocations: 145.7 kB / 0.8658 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.5208, allocations: 15.91 kB / 0.8658 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.5213, allocations: 215.4 kB / 0.866 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5213, allocations: 7.875 kB / 0.866 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5213, allocations: 0 / 0.866 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5213, allocations: 11.97 kB / 0.866 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.5216, allocations: 252.5 kB / 0.8662 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5216, allocations: 0 / 0.8662 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.5218, allocations: 27.98 kB / 0.8663 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5218, allocations: 0 / 0.8663 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5218, allocations: 4 kB / 0.8663 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5218, allocations: 4.047 kB / 0.8663 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5218, allocations: 3.938 kB / 0.8663 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.5222, allocations: 289.7 kB / 0.8666 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.5222, allocations: 39.81 kB / 0.8666 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.5223, allocations: 4 kB / 0.8666 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5224, allocations: 11.94 kB / 0.8666 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.5224, allocations: 7.984 kB / 0.8666 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.5225, allocations: 11.98 kB / 0.8666 GB, free: 7.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001292/0.5226, allocations: 143.2 kB / 0.8668 GB, free: 7.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5226, allocations: 0 / 0.8668 GB, free: 7.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003512/0.5229, allocations: 79.89 kB / 0.8668 GB, free: 7.461 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.0006977/0.5236, allocations: 0.8371 MB / 0.8677 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.524, allocations: 167.5 kB / 0.8678 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.524, allocations: 320 / 0.8678 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5241, allocations: 71.91 kB / 0.8679 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.5245, allocations: 42.42 kB / 0.8679 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5273, allocations: 2.301 MB / 0.8702 GB, free: 3.828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.5277, allocations: 0.7326 MB / 0.8709 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000164/0.5278, allocations: 46.25 kB / 0.8709 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.5279, allocations: 59.42 kB / 0.871 GB, free: 2.969 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5279, allocations: 0 / 0.871 GB, free: 2.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.5577, allocations: 4.639 MB / 0.8755 GB, free: 14.47 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.31, allocations: 7.062 kB / 0.8755 GB, free: 14.46 MB / 0.5607 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.485793764935806] Failed to read output from testmodel.py, exit status != 0: 11.408078722888604 11.424946961 10.908397358 Calling exit ...