Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestLiquid.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.01338/0.01338, 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.8864/0.8864, allocations: 130.6 MB / 151.8 MB, free: 10.22 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.001261/0.001261, allocations: 111.5 kB / 183 MB, free: 3.352 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.001586/0.001586, allocations: 211.4 kB / 214.4 MB, free: 6.98 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.555/1.555, allocations: 230.5 MB / 476.2 MB, free: 5.793 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.1145/0.1145, allocations: 25.54 MB / 0.5724 GB, free: 10.43 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.TestLiquid,fileNamePrefix="TILMedia_TILMedia_Testers_TestLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestLiquid,fileNamePrefix="TILMedia_TILMedia_Testers_TestLiquid",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.003626/0.003626, allocations: 131.8 kB / 0.7624 GB, free: 7.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5376, allocations: 89.05 MB / 0.8493 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.003596/0.5412, allocations: 1.832 MB / 0.8511 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.5451, allocations: 2.454 MB / 0.8535 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.5452, allocations: 6.406 kB / 0.8535 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.546, allocations: 173.1 kB / 0.8537 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.5462, allocations: 86.77 kB / 0.8538 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.5471, allocations: 397.5 kB / 0.8542 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.5474, allocations: 163.3 kB / 0.8543 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.014e-05/0.5475, allocations: 17.55 kB / 0.8543 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.5475, allocations: 59.72 kB / 0.8544 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.5477, allocations: 87.66 kB / 0.8545 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5478, allocations: 4 kB / 0.8545 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.5488, allocations: 0.7446 MB / 0.8552 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.5489, allocations: 27.78 kB / 0.8552 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.5489, allocations: 59.67 kB / 0.8553 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.5499, allocations: 0.5918 MB / 0.8559 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5499, allocations: 4 kB / 0.8559 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5499, allocations: 0 / 0.8559 GB, free: 13.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.5499, allocations: 0 / 0.8559 GB, free: 13.09 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007387/0.5506, allocations: 0.5249 MB / 0.8564 GB, free: 12.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5507, allocations: 8.625 kB / 0.8564 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.5507, allocations: 46.73 kB / 0.8564 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.5508, allocations: 12.84 kB / 0.8564 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/0.5516, allocations: 417.5 kB / 0.8568 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5516, allocations: 4.375 kB / 0.8568 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.5516, allocations: 12.38 kB / 0.8569 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.5521, allocations: 173.2 kB / 0.857 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5521, allocations: 4 kB / 0.857 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5521, allocations: 4 kB / 0.857 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5522, allocations: 4 kB / 0.857 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.5525, allocations: 83.81 kB / 0.8571 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.5534, allocations: 1.068 MB / 0.8582 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.5537, allocations: 82.47 kB / 0.8582 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.5538, allocations: 24.94 kB / 0.8583 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.5538, allocations: 15.98 kB / 0.8583 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.5539, allocations: 42.5 kB / 0.8583 GB, free: 10.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.5539, allocations: 0 / 0.8583 GB, free: 10.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0006953/0.5546, allocations: 165.5 kB / 0.8585 GB, free: 10.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5546, allocations: 55.34 kB / 0.8585 GB, free: 10.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.5548, allocations: 187.4 kB / 0.8587 GB, free: 9.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.5548, allocations: 25.7 kB / 0.8587 GB, free: 9.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.5549, allocations: 131.9 kB / 0.8589 GB, free: 9.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.555, allocations: 39.69 kB / 0.8589 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.555, allocations: 45.66 kB / 0.8589 GB, free: 9.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5552, allocations: 322.8 kB / 0.8592 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.5553, allocations: 27.98 kB / 0.8593 GB, free: 9.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.5554, allocations: 92.5 kB / 0.8594 GB, free: 9.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.5556, allocations: 136.5 kB / 0.8595 GB, free: 9.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5556, allocations: 0 / 0.8595 GB, free: 9.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002766/0.5558, allocations: 169.5 kB / 0.8597 GB, free: 8.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5559, allocations: 8 kB / 0.8597 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/0.556, allocations: 80.19 kB / 0.8597 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.556, allocations: 4 kB / 0.8597 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.5562, allocations: 39.91 kB / 0.8598 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5562, allocations: 4 kB / 0.8598 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.5562, allocations: 19.84 kB / 0.8598 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.5563, allocations: 8 kB / 0.8598 GB, free: 8.688 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 20 * 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.000122/0.5564, allocations: 137.6 kB / 0.8599 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.5564, allocations: 15.84 kB / 0.86 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.5568, allocations: 188.7 kB / 0.8601 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5568, allocations: 4 kB / 0.8601 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5568, allocations: 4 kB / 0.8601 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5569, allocations: 3.984 kB / 0.8601 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.5571, allocations: 221.5 kB / 0.8604 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001612/0.5573, allocations: 109.6 kB / 0.8605 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.5573, allocations: 19.88 kB / 0.8605 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5573, allocations: 4 kB / 0.8605 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5573, allocations: 4 kB / 0.8605 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5573, allocations: 3.984 kB / 0.8605 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5574, allocations: 0 / 0.8605 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.5576, allocations: 217.9 kB / 0.8607 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.5577, allocations: 108.9 kB / 0.8608 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.5577, allocations: 0 / 0.8608 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.5578, allocations: 4 kB / 0.8608 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.5578, allocations: 7.984 kB / 0.8608 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.5578, allocations: 4 kB / 0.8608 GB, free: 7.551 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001262/0.5579, allocations: 135.2 kB / 0.8609 GB, free: 7.418 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5579, allocations: 0 / 0.8609 GB, free: 7.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004093/0.5583, allocations: 87.73 kB / 0.861 GB, free: 7.332 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001366/0.5597, allocations: 1.019 MB / 0.862 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.5599, allocations: 99.89 kB / 0.8621 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5599, allocations: 0 / 0.8621 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.56, allocations: 91.33 kB / 0.8622 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.5603, allocations: 26.44 kB / 0.8622 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.5624, allocations: 1.866 MB / 0.8641 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.5628, allocations: 0.7241 MB / 0.8648 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.5629, allocations: 61.23 kB / 0.8648 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.563, allocations: 59.39 kB / 0.8649 GB, free: 3.262 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.563, allocations: 0 / 0.8649 GB, free: 3.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.5985, allocations: 4.399 MB / 0.8692 GB, free: 14.91 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.492, allocations: 10.02 kB / 0.8692 GB, free: 14.9 MB / 0.5607 GB " [Timeout remaining time 651] (rm -f TILMedia_TILMedia.Testers.TestLiquid.pipe ; mkfifo TILMedia_TILMedia.Testers.TestLiquid.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestLiquid.pipe >> ../files/TILMedia_TILMedia.Testers.TestLiquid.sim & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestLiquid_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_TestLiquid.fmu > TILMedia_TILMedia.Testers.TestLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.0174365809944] Failed to read output from testmodel.py, exit status != 0: 8.807637579011498 8.834124212 8.279939615 Calling exit ...