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.01042/0.01042, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.847/0.847, allocations: 130.6 MB / 151.8 MB, free: 10.21 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.001235/0.001235, allocations: 109.7 kB / 183.1 MB, free: 3.273 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.001517/0.001517, allocations: 215 kB / 214.4 MB, free: 6.957 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.502/1.502, allocations: 230.5 MB / 476.2 MB, free: 5.785 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.1112/0.1112, allocations: 25.54 MB / 0.5724 GB, free: 10.41 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.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.003575/0.003575, allocations: 139.8 kB / 0.7624 GB, free: 7.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3986, allocations: 89.05 MB / 0.8494 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestSolid): time 0.00254/0.4011, allocations: 1.408 MB / 0.8507 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.4016, allocations: 184.9 kB / 0.8509 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.4016, allocations: 1.406 kB / 0.8509 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.4016, allocations: 7.922 kB / 0.8509 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.4017, allocations: 13.48 kB / 0.8509 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.402, allocations: 63.59 kB / 0.851 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.4021, allocations: 49.33 kB / 0.851 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.4021, allocations: 2.188 kB / 0.851 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.4021, allocations: 15.22 kB / 0.851 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.4022, allocations: 17.78 kB / 0.8511 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.4022, allocations: 2.344 kB / 0.8511 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.4024, allocations: 86.05 kB / 0.8512 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.4024, allocations: 7.938 kB / 0.8512 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.4024, allocations: 20.62 kB / 0.8512 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.4026, allocations: 77.41 kB / 0.8513 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4026, allocations: 0 / 0.8513 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4026, allocations: 0 / 0.8513 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.4026, allocations: 0 / 0.8513 GB, free: 1.223 MB / 0.5294 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.0004223/0.403, allocations: 356.2 kB / 0.8516 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.403, allocations: 9.438 kB / 0.8516 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.4031, allocations: 36.2 kB / 0.8516 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.4031, allocations: 7.859 kB / 0.8516 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4032, allocations: 166.2 kB / 0.8518 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4032, allocations: 10.09 kB / 0.8518 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4032, allocations: 6.031 kB / 0.8518 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.4034, allocations: 43 kB / 0.8519 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4034, allocations: 3.938 kB / 0.8519 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4034, allocations: 4.891 kB / 0.8519 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4034, allocations: 1.062 kB / 0.8519 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.333e-05/0.4034, allocations: 16.7 kB / 0.8519 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.4038, allocations: 367.1 kB / 0.8522 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.4039, allocations: 32.88 kB / 0.8523 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.4039, allocations: 7.453 kB / 0.8523 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/0.4045, allocations: 0.6322 MB / 0.8529 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4046, allocations: 30.56 kB / 0.8529 GB, free: 15.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4046, allocations: 1.125 kB / 0.8529 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001574/0.4047, allocations: 53.59 kB / 0.853 GB, free: 15.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4048, allocations: 52.44 kB / 0.853 GB, free: 15.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.4048, allocations: 109 kB / 0.8531 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.4049, allocations: 25.7 kB / 0.8531 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.4049, allocations: 85.22 kB / 0.8532 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.4049, allocations: 5.266 kB / 0.8532 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.4049, allocations: 21.58 kB / 0.8533 GB, free: 14.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4051, allocations: 319.9 kB / 0.8536 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.4051, allocations: 5.969 kB / 0.8536 GB, free: 14.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.4051, allocations: 6.188 kB / 0.8536 GB, free: 14.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.4052, allocations: 11.58 kB / 0.8536 GB, free: 14.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4052, allocations: 1.156 kB / 0.8536 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.826e-05/0.4052, allocations: 51.5 kB / 0.8536 GB, free: 14.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4052, allocations: 4.938 kB / 0.8536 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4052, allocations: 0 / 0.8536 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4052, allocations: 1.75 kB / 0.8536 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.4053, allocations: 6.766 kB / 0.8536 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4053, allocations: 1.094 kB / 0.8536 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.4053, allocations: 9.062 kB / 0.8537 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.4053, allocations: 0 / 0.8537 GB, free: 14.52 MB / 0.545 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 8.393e-05/0.4054, allocations: 113.3 kB / 0.8538 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.4054, allocations: 5.062 kB / 0.8538 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.4055, allocations: 59.25 kB / 0.8538 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4055, allocations: 1.094 kB / 0.8538 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4055, allocations: 0 / 0.8538 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4055, allocations: 1.125 kB / 0.8538 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.4057, allocations: 168.9 kB / 0.854 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4057, allocations: 4 kB / 0.854 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.4058, allocations: 3.75 kB / 0.854 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4058, allocations: 1.094 kB / 0.854 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.4058, allocations: 0 / 0.854 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4058, allocations: 1.156 kB / 0.854 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4058, allocations: 0 / 0.854 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.4059, allocations: 147.5 kB / 0.8541 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.4059, allocations: 88.38 kB / 0.8542 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.4059, allocations: 4.25 kB / 0.8542 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.553e-05/0.406, allocations: 5.062 kB / 0.8542 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.406, allocations: 5.094 kB / 0.8542 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.406, allocations: 1.156 kB / 0.8542 GB, free: 13.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.4061, allocations: 84.05 kB / 0.8543 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.4061, allocations: 0 / 0.8543 GB, free: 13.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002456/0.4063, allocations: 31.98 kB / 0.8543 GB, free: 13.77 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: 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.000501/0.4068, allocations: 0.6943 MB / 0.855 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.4069, allocations: 16.22 kB / 0.855 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4069, allocations: 1.156 kB / 0.855 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.4069, allocations: 8.516 kB / 0.8551 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.4071, allocations: 12.12 kB / 0.8551 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.4076, allocations: 169.2 kB / 0.8552 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4079, allocations: 0.6829 MB / 0.8559 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.4079, allocations: 10.08 kB / 0.8559 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.4079, allocations: 12.62 kB / 0.8559 GB, free: 12.18 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.4079, allocations: 4 kB / 0.8559 GB, free: 12.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.4305, allocations: 1.402 MB / 0.8573 GB, free: 11.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.702, allocations: 5.094 kB / 0.8573 GB, free: 11.06 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestSolid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 TILMedia_TILMedia_Testers_TestSolid.fmu > TILMedia_TILMedia.Testers.TestSolid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.556746486006887] Failed to read output from testmodel.py, exit status != 0: 7.768481794002582 7.7922753160000005 7.385593623 Calling exit ...