Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestSolid.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.01101/0.01101, allocations: 1.75 MB / 20.6 MB, free: 1.027 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 1.052/1.052, allocations: 130.7 MB / 154.8 MB, free: 4.172 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.001786/0.001786, allocations: 110.3 kB / 186.5 MB, free: 2.062 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.002423/0.002423, allocations: 216.3 kB / 218.4 MB, free: 2.227 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 2.015/2.015, allocations: 230.6 MB / 480.7 MB, free: 84 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.1642/0.1642, allocations: 25.6 MB / 0.5774 GB, free: 2.039 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.TestSolid,fileNamePrefix="TILMedia_TILMedia_Testers_TestSolid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestSolid,fileNamePrefix="TILMedia_TILMedia_Testers_TestSolid",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.004655/0.004655, allocations: 141.7 kB / 0.7695 GB, free: 7.949 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7702, allocations: 89.25 MB / 0.8567 GB, free: 29.53 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSolid): time 0.003942/0.7742, allocations: 1.383 MB / 0.858 GB, free: 28.57 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0006403/0.7748, allocations: 179.9 kB / 0.8582 GB, free: 28.45 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.7749, allocations: 0 / 0.8582 GB, free: 28.45 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.7749, allocations: 5.297 kB / 0.8582 GB, free: 28.45 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.775, allocations: 16.97 kB / 0.8582 GB, free: 28.44 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.7755, allocations: 56.78 kB / 0.8583 GB, free: 28.42 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.7756, allocations: 44.45 kB / 0.8583 GB, free: 28.4 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 6.014e-05/0.7757, allocations: 0.6094 kB / 0.8583 GB, free: 28.4 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.7758, allocations: 18.2 kB / 0.8583 GB, free: 28.39 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.7758, allocations: 15.33 kB / 0.8584 GB, free: 28.38 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.7758, allocations: 6.969 kB / 0.8584 GB, free: 28.38 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.7761, allocations: 80.53 kB / 0.8584 GB, free: 28.36 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.7761, allocations: 8.547 kB / 0.8585 GB, free: 28.35 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.7762, allocations: 13.25 kB / 0.8585 GB, free: 28.34 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.7765, allocations: 80.78 kB / 0.8585 GB, free: 28.32 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7765, allocations: 0 / 0.8585 GB, free: 28.32 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.577e-06/0.7765, allocations: 0 / 0.8585 GB, free: 28.32 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.7765, allocations: 0 / 0.8585 GB, free: 28.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007723/0.7773, allocations: 282.3 kB / 0.8588 GB, free: 28.04 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 7.9e-05/0.7774, allocations: 9.844 kB / 0.8588 GB, free: 28.04 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.7774, allocations: 35.25 kB / 0.8589 GB, free: 27.99 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.7775, allocations: 12.64 kB / 0.8589 GB, free: 27.98 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.7776, allocations: 106.5 kB / 0.859 GB, free: 27.86 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.7776, allocations: 4.375 kB / 0.859 GB, free: 27.86 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.7777, allocations: 3.75 kB / 0.859 GB, free: 27.86 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.7778, allocations: 43.33 kB / 0.859 GB, free: 27.82 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.7778, allocations: 3.938 kB / 0.859 GB, free: 27.82 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.7779, allocations: 7.984 kB / 0.859 GB, free: 27.81 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.7779, allocations: 2.969 kB / 0.859 GB, free: 27.81 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.7779, allocations: 15.62 kB / 0.859 GB, free: 27.8 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.7784, allocations: 249.2 kB / 0.8593 GB, free: 27.55 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.7785, allocations: 33.61 kB / 0.8593 GB, free: 27.52 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.7786, allocations: 8.891 kB / 0.8593 GB, free: 27.51 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.779, allocations: 35.47 kB / 0.8594 GB, free: 27.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.779, allocations: 42.25 kB / 0.8594 GB, free: 27.45 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.779, allocations: 0 / 0.8594 GB, free: 27.45 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0002373/0.7793, allocations: 52.84 kB / 0.8595 GB, free: 27.41 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.7793, allocations: 51.92 kB / 0.8595 GB, free: 27.35 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7794, allocations: 106.3 kB / 0.8596 GB, free: 27.25 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.7794, allocations: 25.7 kB / 0.8596 GB, free: 27.21 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.7795, allocations: 84.94 kB / 0.8597 GB, free: 27.13 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.7795, allocations: 15.38 kB / 0.8597 GB, free: 27.12 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.7796, allocations: 13.81 kB / 0.8597 GB, free: 27.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.7797, allocations: 315.9 kB / 0.86 GB, free: 26.79 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.7797, allocations: 7.781 kB / 0.86 GB, free: 26.78 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.7797, allocations: 4.672 kB / 0.86 GB, free: 26.78 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.7797, allocations: 19.39 kB / 0.8601 GB, free: 26.77 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.7797, allocations: 7.031 kB / 0.8601 GB, free: 26.76 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.585e-05/0.7798, allocations: 41.38 kB / 0.8601 GB, free: 26.73 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.7799, allocations: 9.062 kB / 0.8601 GB, free: 26.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7799, allocations: 0 / 0.8601 GB, free: 26.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.7799, allocations: 4 kB / 0.8601 GB, free: 26.72 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.78, allocations: 3.906 kB / 0.8601 GB, free: 26.72 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.78, allocations: 3.984 kB / 0.8601 GB, free: 26.72 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.78, allocations: 3.422 kB / 0.8601 GB, free: 26.72 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.78, allocations: 0 / 0.8601 GB, free: 26.72 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.851e-05/0.7801, allocations: 118.6 kB / 0.8603 GB, free: 26.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.7801, allocations: 3.031 kB / 0.8603 GB, free: 26.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.7802, allocations: 60.45 kB / 0.8603 GB, free: 26.54 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7802, allocations: 0 / 0.8603 GB, free: 26.54 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7802, allocations: 0 / 0.8603 GB, free: 26.54 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7803, allocations: 4.609 kB / 0.8603 GB, free: 26.54 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.7804, allocations: 138.8 kB / 0.8604 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7804, allocations: 0 / 0.8604 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.7804, allocations: 4.234 kB / 0.8605 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7804, allocations: 0 / 0.8605 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.7804, allocations: 0.7031 kB / 0.8605 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.7804, allocations: 3.25 kB / 0.8605 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7804, allocations: 3.938 kB / 0.8605 GB, free: 26.37 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.7805, allocations: 148.3 kB / 0.8606 GB, free: 26.22 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.7806, allocations: 9.703 kB / 0.8606 GB, free: 26.22 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.7806, allocations: 0.5625 kB / 0.8606 GB, free: 26.22 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.7806, allocations: 4 kB / 0.8606 GB, free: 26.21 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.7807, allocations: 1.125 kB / 0.8606 GB, free: 26.21 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.7807, allocations: 3.812 kB / 0.8606 GB, free: 26.21 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.7807, allocations: 84.58 kB / 0.8607 GB, free: 26.14 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.7807, allocations: 0 / 0.8607 GB, free: 26.14 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003116/0.781, allocations: 30.62 kB / 0.8607 GB, free: 26.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005296/0.7816, allocations: 0.7019 MB / 0.8614 GB, free: 25.45 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.7817, allocations: 11.59 kB / 0.8614 GB, free: 25.45 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7817, allocations: 0 / 0.8614 GB, free: 25.45 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.7817, allocations: 11.86 kB / 0.8614 GB, free: 25.44 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.7819, allocations: 0.9844 kB / 0.8614 GB, free: 25.44 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.7825, allocations: 187.6 kB / 0.8616 GB, free: 25.27 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.515e-05/0.7826, allocations: 62.17 kB / 0.8617 GB, free: 25.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.7826, allocations: 7.672 kB / 0.8617 GB, free: 25.19 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.7827, allocations: 7.953 kB / 0.8617 GB, free: 25.18 MB / 0.5763 GB Notification: Performance of SimCode: time 7.71e-07/0.7827, allocations: 0 / 0.8617 GB, free: 25.18 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.8206, allocations: 1.923 MB / 0.8636 GB, free: 24.37 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.61, allocations: 3.125 kB / 0.8636 GB, free: 24.37 MB / 0.5763 GB " [Timeout remaining time 646] (rm -f TILMedia_TILMedia.Testers.TestSolid.pipe ; mkfifo TILMedia_TILMedia.Testers.TestSolid.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestSolid.pipe >> ../files/TILMedia_TILMedia.Testers.TestSolid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestSolid_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestSolid.fmu > TILMedia_TILMedia.Testers.TestSolid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.12750431569293] Failed to read output from testmodel.py, exit status != 0: 13.715643018018454 13.748658372 12.966412193 Calling exit ...