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.01039/0.01039, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.9821/0.9821, allocations: 130.7 MB / 154.8 MB, free: 4.184 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.001564/0.001564, allocations: 105.4 kB / 186.5 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.001921/0.001921, allocations: 209.5 kB / 218.4 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.732/1.732, allocations: 230.6 MB / 480.7 MB, free: 104 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.1509/0.1509, allocations: 25.6 MB / 0.5774 GB, free: 2.059 MB / 430.1 MB " [Timeout remaining time 179] 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.003944/0.003944, allocations: 145.5 kB / 0.7695 GB, free: 7.934 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7486, allocations: 89.26 MB / 0.8567 GB, free: 29.53 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSLEMedium): time 0.003743/0.7524, allocations: 2.088 MB / 0.8587 GB, free: 28.09 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.754, allocations: 0.7825 MB / 0.8595 GB, free: 27.55 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.754, allocations: 0 / 0.8595 GB, free: 27.55 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.7541, allocations: 29.44 kB / 0.8595 GB, free: 27.54 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.7547, allocations: 144.2 kB / 0.8597 GB, free: 27.45 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.7548, allocations: 84.58 kB / 0.8597 GB, free: 27.4 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.7552, allocations: 339.6 kB / 0.8601 GB, free: 27.23 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.7552, allocations: 15.84 kB / 0.8601 GB, free: 27.21 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.7554, allocations: 122.4 kB / 0.8602 GB, free: 27.16 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.7556, allocations: 118.5 kB / 0.8603 GB, free: 27.11 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.7556, allocations: 21.09 kB / 0.8603 GB, free: 27.11 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.7559, allocations: 97.11 kB / 0.8604 GB, free: 27.09 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.7559, allocations: 46.27 kB / 0.8605 GB, free: 27.06 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.756, allocations: 108.1 kB / 0.8606 GB, free: 27.01 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.7566, allocations: 310.8 kB / 0.8609 GB, free: 26.89 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.7566, allocations: 1.062 kB / 0.8609 GB, free: 26.89 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7566, allocations: 0 / 0.8609 GB, free: 26.89 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.7566, allocations: 0 / 0.8609 GB, free: 26.89 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.000979/0.7576, allocations: 470.7 kB / 0.8613 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.7576, allocations: 9.781 kB / 0.8613 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.504e-05/0.7577, allocations: 58.06 kB / 0.8614 GB, free: 26.46 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.7578, allocations: 26.42 kB / 0.8614 GB, free: 26.45 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.7579, allocations: 144.6 kB / 0.8616 GB, free: 26.3 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.758, allocations: 70.12 kB / 0.8616 GB, free: 26.23 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.7581, allocations: 24.73 kB / 0.8616 GB, free: 26.21 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.7585, allocations: 234.9 kB / 0.8619 GB, free: 26.09 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.7585, allocations: 0 / 0.8619 GB, free: 26.09 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.7585, allocations: 8 kB / 0.8619 GB, free: 26.08 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.7585, allocations: 6.125 kB / 0.8619 GB, free: 26.08 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.7589, allocations: 192.6 kB / 0.8621 GB, free: 26.01 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.7605, allocations: 0.7113 MB / 0.8628 GB, free: 25.52 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.7609, allocations: 157.7 kB / 0.8629 GB, free: 25.45 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.761, allocations: 58.67 kB / 0.863 GB, free: 25.42 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.7612, allocations: 41.98 kB / 0.863 GB, free: 25.41 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.7612, allocations: 41.19 kB / 0.863 GB, free: 25.37 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.7612, allocations: 0 / 0.863 GB, free: 25.37 MB / 0.5763 GB Notification: Performance of matching and sorting (n=18): time 0.0005553/0.7618, allocations: 227.3 kB / 0.8633 GB, free: 25.26 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.7618, allocations: 51.41 kB / 0.8633 GB, free: 25.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.762, allocations: 220 kB / 0.8635 GB, free: 25.05 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.7621, allocations: 29.7 kB / 0.8635 GB, free: 25.02 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.7621, allocations: 168.2 kB / 0.8637 GB, free: 24.87 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.7622, allocations: 58.69 kB / 0.8638 GB, free: 24.82 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.7623, allocations: 73.84 kB / 0.8638 GB, free: 24.77 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.7624, allocations: 324.4 kB / 0.8641 GB, free: 24.46 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.7626, allocations: 69.11 kB / 0.8642 GB, free: 24.43 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.7628, allocations: 188 kB / 0.8644 GB, free: 24.25 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.7632, allocations: 275.6 kB / 0.8647 GB, free: 24.02 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.7633, allocations: 0.9375 kB / 0.8647 GB, free: 24.02 MB / 0.5763 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000569/0.7638, allocations: 297.6 kB / 0.8649 GB, free: 23.88 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.7638, allocations: 7.375 kB / 0.8649 GB, free: 23.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7639, allocations: 3.625 kB / 0.8649 GB, free: 23.88 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.7639, allocations: 15.52 kB / 0.865 GB, free: 23.88 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.7642, allocations: 67.05 kB / 0.865 GB, free: 23.87 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.7642, allocations: 7.469 kB / 0.865 GB, free: 23.87 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.7644, allocations: 38.17 kB / 0.8651 GB, free: 23.84 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.7644, allocations: 15.72 kB / 0.8651 GB, free: 23.84 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.000133/0.7645, allocations: 145.2 kB / 0.8652 GB, free: 23.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.7646, allocations: 22.56 kB / 0.8652 GB, free: 23.69 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.7651, allocations: 221 kB / 0.8655 GB, free: 23.58 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.7651, allocations: 7.812 kB / 0.8655 GB, free: 23.58 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7651, allocations: 0 / 0.8655 GB, free: 23.58 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7651, allocations: 0.6094 kB / 0.8655 GB, free: 23.58 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.7654, allocations: 225.5 kB / 0.8657 GB, free: 23.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7654, allocations: 1.188 kB / 0.8657 GB, free: 23.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.7656, allocations: 40.11 kB / 0.8657 GB, free: 23.37 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.7656, allocations: 2.219 kB / 0.8657 GB, free: 23.37 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.7656, allocations: 3.188 kB / 0.8657 GB, free: 23.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7656, allocations: 5.25 kB / 0.8657 GB, free: 23.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7656, allocations: 0 / 0.8657 GB, free: 23.37 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.766, allocations: 278.8 kB / 0.866 GB, free: 23.18 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7661, allocations: 41.88 kB / 0.866 GB, free: 23.15 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.7662, allocations: 9.781 kB / 0.866 GB, free: 23.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7663, allocations: 15.16 kB / 0.8661 GB, free: 23.13 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.7664, allocations: 13.17 kB / 0.8661 GB, free: 23.13 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.7664, allocations: 9.031 kB / 0.8661 GB, free: 23.13 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001459/0.7665, allocations: 142.3 kB / 0.8662 GB, free: 23.04 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/0.7665, allocations: 0 / 0.8662 GB, free: 23.04 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004402/0.767, allocations: 86.25 kB / 0.8663 GB, free: 23.02 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.0007362/0.7677, allocations: 0.8278 MB / 0.8671 GB, free: 22.28 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.7681, allocations: 169.7 kB / 0.8673 GB, free: 22.23 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7681, allocations: 4.062 kB / 0.8673 GB, free: 22.22 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.7683, allocations: 68.19 kB / 0.8673 GB, free: 22.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.7688, allocations: 40.31 kB / 0.8674 GB, free: 22.18 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.7716, allocations: 2.302 MB / 0.8696 GB, free: 20.32 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.7718, allocations: 122.3 kB / 0.8697 GB, free: 20.23 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.772, allocations: 44.92 kB / 0.8698 GB, free: 20.22 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.7721, allocations: 63.44 kB / 0.8698 GB, free: 20.18 MB / 0.5763 GB Notification: Performance of SimCode: time 6.11e-07/0.7721, allocations: 0 / 0.8698 GB, free: 20.18 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.811, allocations: 5.032 MB / 0.8748 GB, free: 19 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.21, allocations: 1.531 kB / 0.8748 GB, free: 19 MB / 0.5763 GB " [Timeout remaining time 646] (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.2 --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: 19.2208447069861] Failed to read output from testmodel.py, exit status != 0: 14.319788318127394 14.349161639 13.58726439 Calling exit ...