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.01217/0.01217, allocations: 1.756 MB / 21.38 MB, free: 0.5781 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.8352/0.8352, allocations: 130.7 MB / 155.6 MB, free: 4.398 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.001208/0.001208, allocations: 106.9 kB / 187.4 MB, free: 2.238 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.001506/0.001506, allocations: 207.4 kB / 219.2 MB, free: 2.383 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.4/1.4, allocations: 230.6 MB / 481.5 MB, free: 15.74 MB / 334.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.111/0.111, allocations: 25.54 MB / 0.5782 GB, free: 2.359 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.003757/0.003757, allocations: 145.8 kB / 0.7704 GB, free: 8.262 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4018, allocations: 89.25 MB / 0.8575 GB, free: 29.66 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.002528/0.4043, allocations: 2.246 MB / 0.8597 GB, free: 28.05 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.4053, allocations: 0.8343 MB / 0.8605 GB, free: 27.46 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.4054, allocations: 0 / 0.8605 GB, free: 27.46 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.4055, allocations: 26.39 kB / 0.8606 GB, free: 27.45 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.4058, allocations: 155.7 kB / 0.8607 GB, free: 27.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.4059, allocations: 87.33 kB / 0.8608 GB, free: 27.3 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.4062, allocations: 340.8 kB / 0.8611 GB, free: 27.12 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.4062, allocations: 15.69 kB / 0.8611 GB, free: 27.11 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4064, allocations: 120.1 kB / 0.8612 GB, free: 27.06 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.4065, allocations: 123.7 kB / 0.8614 GB, free: 27 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.4065, allocations: 29.66 kB / 0.8614 GB, free: 27 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.4067, allocations: 93.05 kB / 0.8615 GB, free: 26.98 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.4067, allocations: 54.52 kB / 0.8615 GB, free: 26.94 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.4068, allocations: 127.3 kB / 0.8617 GB, free: 26.87 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.4071, allocations: 304.2 kB / 0.8619 GB, free: 26.75 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4071, allocations: 3.281 kB / 0.8619 GB, free: 26.75 MB / 0.5763 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4071, allocations: 0 / 0.8619 GB, free: 26.75 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4071, allocations: 0 / 0.8619 GB, free: 26.75 MB / 0.5763 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.0006123/0.4078, allocations: 477.4 kB / 0.8624 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.4078, allocations: 9.812 kB / 0.8624 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.792e-05/0.4078, allocations: 4.672 kB / 0.8624 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.4078, allocations: 56.89 kB / 0.8625 GB, free: 26.32 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.4079, allocations: 22.64 kB / 0.8625 GB, free: 26.31 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.408, allocations: 136.7 kB / 0.8626 GB, free: 26.16 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/0.4081, allocations: 77.97 kB / 0.8627 GB, free: 26.09 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.4081, allocations: 20.53 kB / 0.8627 GB, free: 26.08 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.4084, allocations: 222.3 kB / 0.8629 GB, free: 25.96 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4084, allocations: 4.734 kB / 0.8629 GB, free: 25.96 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4084, allocations: 11.09 kB / 0.8629 GB, free: 25.95 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4085, allocations: 2.906 kB / 0.8629 GB, free: 25.95 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.4088, allocations: 187.4 kB / 0.8631 GB, free: 25.89 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4101, allocations: 0.9191 MB / 0.864 GB, free: 25.18 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.4104, allocations: 166.9 kB / 0.8642 GB, free: 25.1 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4105, allocations: 55.69 kB / 0.8642 GB, free: 25.07 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.4106, allocations: 46.19 kB / 0.8643 GB, free: 25.07 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.4106, allocations: 35.66 kB / 0.8643 GB, free: 25.02 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=18): time 1.153e-06/0.4106, allocations: 0 / 0.8643 GB, free: 25.02 MB / 0.5763 GB Notification: Performance of matching and sorting (n=18): time 0.0004626/0.4111, allocations: 224.7 kB / 0.8645 GB, free: 24.91 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.4111, allocations: 54.72 kB / 0.8646 GB, free: 24.85 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.4113, allocations: 207.6 kB / 0.8648 GB, free: 24.71 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4113, allocations: 33.48 kB / 0.8648 GB, free: 24.68 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.4114, allocations: 166.5 kB / 0.865 GB, free: 24.53 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.4114, allocations: 59.75 kB / 0.865 GB, free: 24.48 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.4115, allocations: 75.11 kB / 0.8651 GB, free: 24.44 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.4115, allocations: 326.4 kB / 0.8654 GB, free: 24.12 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.4116, allocations: 62.16 kB / 0.8655 GB, free: 24.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.4118, allocations: 193.4 kB / 0.8656 GB, free: 23.91 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.4121, allocations: 276.8 kB / 0.8659 GB, free: 23.67 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4121, allocations: 1.375 kB / 0.8659 GB, free: 23.67 MB / 0.5763 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004683/0.4126, allocations: 297.4 kB / 0.8662 GB, free: 23.54 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4126, allocations: 7.406 kB / 0.8662 GB, free: 23.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4126, allocations: 8.641 kB / 0.8662 GB, free: 23.53 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.4126, allocations: 14.53 kB / 0.8662 GB, free: 23.52 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.4129, allocations: 65.94 kB / 0.8663 GB, free: 23.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4129, allocations: 11.52 kB / 0.8663 GB, free: 23.51 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4131, allocations: 35.2 kB / 0.8663 GB, free: 23.49 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.4131, allocations: 18.02 kB / 0.8664 GB, free: 23.48 MB / 0.5763 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.0001053/0.4132, allocations: 144 kB / 0.8665 GB, free: 23.35 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.4132, allocations: 18.06 kB / 0.8665 GB, free: 23.34 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.4137, allocations: 224.8 kB / 0.8667 GB, free: 23.23 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4137, allocations: 2.859 kB / 0.8667 GB, free: 23.23 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4137, allocations: 0 / 0.8667 GB, free: 23.23 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4137, allocations: 2.531 kB / 0.8667 GB, free: 23.23 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.414, allocations: 260.4 kB / 0.867 GB, free: 23.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.414, allocations: 0 / 0.867 GB, free: 23.02 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.4141, allocations: 29.17 kB / 0.867 GB, free: 23.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4141, allocations: 5.25 kB / 0.867 GB, free: 23.02 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.4142, allocations: 10.11 kB / 0.867 GB, free: 23.01 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4142, allocations: 1.438 kB / 0.867 GB, free: 23.01 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4142, allocations: 0.6094 kB / 0.867 GB, free: 23.01 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.4145, allocations: 280.2 kB / 0.8673 GB, free: 22.81 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.4146, allocations: 41.64 kB / 0.8673 GB, free: 22.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4146, allocations: 5.797 kB / 0.8673 GB, free: 22.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4147, allocations: 11.84 kB / 0.8673 GB, free: 22.78 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.4148, allocations: 11 kB / 0.8674 GB, free: 22.78 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4148, allocations: 5.922 kB / 0.8674 GB, free: 22.78 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000112/0.4149, allocations: 146.6 kB / 0.8675 GB, free: 22.68 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4149, allocations: 0 / 0.8675 GB, free: 22.68 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.000392/0.4153, allocations: 82.23 kB / 0.8676 GB, free: 22.66 MB / 0.5763 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.0005284/0.4158, allocations: 0.8283 MB / 0.8684 GB, free: 21.93 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.4162, allocations: 171.9 kB / 0.8685 GB, free: 21.87 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4162, allocations: 384 / 0.8685 GB, free: 21.87 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4163, allocations: 68.73 kB / 0.8686 GB, free: 21.85 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.4168, allocations: 47.41 kB / 0.8687 GB, free: 21.83 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4189, allocations: 2.307 MB / 0.8709 GB, free: 19.94 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.4191, allocations: 0.7328 MB / 0.8716 GB, free: 19.24 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.4193, allocations: 47.23 kB / 0.8717 GB, free: 19.22 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.4194, allocations: 60.89 kB / 0.8717 GB, free: 19.18 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.4194, allocations: 112 / 0.8717 GB, free: 19.18 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.4428, allocations: 4.668 MB / 0.8763 GB, free: 18.41 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.01, allocations: 6.766 kB / 0.8763 GB, free: 18.41 MB / 0.5763 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 os._exit(0), Time elapsed: 14.873908898909576] Failed to read output from testmodel.py, exit status != 0: 11.16623952507507 11.189641364 10.778613732 Calling exit ...