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.01061/0.01061, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.9589/0.9589, allocations: 130.7 MB / 155.6 MB, free: 4.277 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.001306/0.001306, allocations: 103 kB / 187.3 MB, free: 2.07 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.00156/0.00156, allocations: 208.9 kB / 219.2 MB, free: 2.23 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.562/1.562, allocations: 230.6 MB / 481.5 MB, free: 120 kB / 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.1192/0.1192, allocations: 25.57 MB / 0.5782 GB, free: 2.062 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.003663/0.003663, allocations: 136.5 kB / 0.7703 GB, free: 4.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.231, allocations: 89.26 MB / 0.8574 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.004168/0.2351, allocations: 2.092 MB / 0.8595 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2368, allocations: 0.7675 MB / 0.8602 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.2369, allocations: 0 / 0.8602 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.675e-05/0.2369, allocations: 27.7 kB / 0.8603 GB, free: 4.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.2375, allocations: 151 kB / 0.8604 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.2377, allocations: 87.8 kB / 0.8605 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.2381, allocations: 342.3 kB / 0.8608 GB, free: 4.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.436e-05/0.2382, allocations: 16.58 kB / 0.8608 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.2384, allocations: 119.6 kB / 0.8609 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.2386, allocations: 127.5 kB / 0.8611 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.2386, allocations: 20 kB / 0.8611 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.2388, allocations: 99.88 kB / 0.8612 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.2389, allocations: 51.77 kB / 0.8612 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.239, allocations: 111.5 kB / 0.8613 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.2395, allocations: 307.2 kB / 0.8616 GB, free: 3.453 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.2395, allocations: 4 kB / 0.8616 GB, free: 3.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2395, allocations: 0 / 0.8616 GB, free: 3.449 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.2395, allocations: 0 / 0.8616 GB, free: 3.449 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.0008907/0.2404, allocations: 465.4 kB / 0.8621 GB, free: 2.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.2404, allocations: 16.03 kB / 0.8621 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.79e-05/0.2405, allocations: 4.625 kB / 0.8621 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/0.2405, allocations: 58.73 kB / 0.8622 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/0.2406, allocations: 24.8 kB / 0.8622 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2408, allocations: 146.1 kB / 0.8623 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.2409, allocations: 72.41 kB / 0.8624 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.241, allocations: 24.12 kB / 0.8624 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.2415, allocations: 225.7 kB / 0.8626 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2415, allocations: 0 / 0.8626 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.2415, allocations: 12 kB / 0.8626 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2416, allocations: 8 kB / 0.8626 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.242, allocations: 189 kB / 0.8628 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.2436, allocations: 0.7159 MB / 0.8635 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.244, allocations: 150.6 kB / 0.8637 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2441, allocations: 56.84 kB / 0.8637 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.2443, allocations: 43.95 kB / 0.8638 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.2443, allocations: 42.5 kB / 0.8638 GB, free: 1.074 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.704e-06/0.2444, allocations: 0 / 0.8638 GB, free: 1.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005459/0.2449, allocations: 223.9 kB / 0.864 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.2449, allocations: 55.41 kB / 0.8641 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.2452, allocations: 211.1 kB / 0.8643 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2452, allocations: 29.7 kB / 0.8643 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2453, allocations: 172 kB / 0.8645 GB, free: 372 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.2454, allocations: 63.44 kB / 0.8645 GB, free: 308 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2455, allocations: 69.64 kB / 0.8646 GB, free: 232 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2456, allocations: 322.8 kB / 0.8649 GB, free: 15.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2458, allocations: 67.97 kB / 0.865 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.246, allocations: 191.6 kB / 0.8651 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.2465, allocations: 280 kB / 0.8654 GB, free: 15.26 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2465, allocations: 0 / 0.8654 GB, free: 15.26 MB / 0.5607 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005278/0.247, allocations: 299.3 kB / 0.8657 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.247, allocations: 8.109 kB / 0.8657 GB, free: 14.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.247, allocations: 7.938 kB / 0.8657 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.247, allocations: 7.938 kB / 0.8657 GB, free: 14.94 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.2474, allocations: 67.84 kB / 0.8658 GB, free: 14.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2474, allocations: 8.562 kB / 0.8658 GB, free: 14.87 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.2476, allocations: 39.72 kB / 0.8658 GB, free: 14.83 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.2476, allocations: 20 kB / 0.8658 GB, free: 14.81 MB / 0.5607 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.0002162/0.2478, allocations: 141.7 kB / 0.866 GB, free: 14.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.2479, allocations: 15.91 kB / 0.866 GB, free: 14.64 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.2484, allocations: 227.2 kB / 0.8662 GB, free: 14.42 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2484, allocations: 3.938 kB / 0.8662 GB, free: 14.42 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2484, allocations: 4 kB / 0.8662 GB, free: 14.41 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2484, allocations: 0 / 0.8662 GB, free: 14.41 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.2488, allocations: 224.6 kB / 0.8664 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2488, allocations: 0 / 0.8664 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2489, allocations: 35.92 kB / 0.8665 GB, free: 14.12 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2489, allocations: 4 kB / 0.8665 GB, free: 14.11 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2489, allocations: 7.938 kB / 0.8665 GB, free: 14.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.249, allocations: 4 kB / 0.8665 GB, free: 14.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.249, allocations: 4 kB / 0.8665 GB, free: 14.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.2494, allocations: 282.2 kB / 0.8668 GB, free: 13.81 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.2495, allocations: 35.81 kB / 0.8668 GB, free: 13.77 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.2495, allocations: 11.94 kB / 0.8668 GB, free: 13.76 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2497, allocations: 0 / 0.8668 GB, free: 13.76 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.2497, allocations: 23.88 kB / 0.8668 GB, free: 13.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.2497, allocations: 7.984 kB / 0.8668 GB, free: 13.73 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0001511/0.2499, allocations: 147.2 kB / 0.867 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/0.2499, allocations: 0 / 0.867 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0004115/0.2503, allocations: 83.88 kB / 0.8671 GB, free: 13.5 MB / 0.5607 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.0008397/0.2511, allocations: 0.8254 MB / 0.8679 GB, free: 12.65 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.2515, allocations: 167.7 kB / 0.868 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2515, allocations: 1.125 kB / 0.868 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.2517, allocations: 74.83 kB / 0.8681 GB, free: 12.41 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.2522, allocations: 35.98 kB / 0.8681 GB, free: 12.38 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.2554, allocations: 2.311 MB / 0.8704 GB, free: 9.871 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.2555, allocations: 117.5 kB / 0.8705 GB, free: 9.73 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.2557, allocations: 50.25 kB / 0.8705 GB, free: 9.684 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2558, allocations: 55.42 kB / 0.8706 GB, free: 9.629 MB / 0.5607 GB Notification: Performance of SimCode: time 1.202e-06/0.2558, allocations: 0 / 0.8706 GB, free: 9.629 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.2824, allocations: 4.773 MB / 0.8753 GB, free: 5.039 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.65, allocations: 7.5 kB / 0.8753 GB, free: 5.035 MB / 0.5607 GB " [Timeout remaining time 648] (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: 16.230454204953276] Failed to read output from testmodel.py, exit status != 0: 11.814748688950203 11.846996469 11.601892501 Calling exit ...