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.01022/0.01022, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.855/0.855, allocations: 130.8 MB / 154.8 MB, free: 9.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.001285/0.001285, allocations: 105.9 kB / 186.6 MB, free: 2.797 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.001579/0.001579, allocations: 211.6 kB / 218.4 MB, free: 5.223 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.577/1.577, allocations: 230.6 MB / 480.8 MB, free: 4.836 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.1163/0.1163, allocations: 25.54 MB / 0.5774 GB, free: 8.883 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.003765/0.003765, allocations: 139.8 kB / 0.7696 GB, free: 4.746 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.48, allocations: 89.26 MB / 0.8568 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.003461/0.4835, allocations: 1.833 MB / 0.8586 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003706/0.4872, allocations: 2.487 MB / 0.861 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.4873, allocations: 0 / 0.861 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007867/0.4881, allocations: 179.2 kB / 0.8612 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.4883, allocations: 87.59 kB / 0.8612 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4894, allocations: 422.2 kB / 0.8616 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.4897, allocations: 163.3 kB / 0.8618 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.4898, allocations: 17.67 kB / 0.8618 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.4899, allocations: 59.78 kB / 0.8619 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.4901, allocations: 95.58 kB / 0.862 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.4901, allocations: 8 kB / 0.862 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.4914, allocations: 0.7835 MB / 0.8627 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.4915, allocations: 27.86 kB / 0.8628 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.4915, allocations: 51.67 kB / 0.8628 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.4926, allocations: 0.5879 MB / 0.8634 GB, free: 11.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4926, allocations: 8 kB / 0.8634 GB, free: 11.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4926, allocations: 0 / 0.8634 GB, free: 11.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4926, allocations: 0 / 0.8634 GB, free: 11.45 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.000727/0.4933, allocations: 464.5 kB / 0.8638 GB, free: 10.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4934, allocations: 15.97 kB / 0.8639 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.4934, allocations: 42.73 kB / 0.8639 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.4935, allocations: 12.84 kB / 0.8639 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.4943, allocations: 357.9 kB / 0.8642 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4943, allocations: 4.375 kB / 0.8643 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.4943, allocations: 12.38 kB / 0.8643 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.4948, allocations: 177.2 kB / 0.8644 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4948, allocations: 3.938 kB / 0.8644 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.4949, allocations: 7.984 kB / 0.8644 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4949, allocations: 0 / 0.8644 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.4952, allocations: 87.81 kB / 0.8645 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.4962, allocations: 1.036 MB / 0.8655 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.4965, allocations: 78.62 kB / 0.8656 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.4965, allocations: 24.84 kB / 0.8656 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.387e-05/0.4966, allocations: 8 kB / 0.8656 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4966, allocations: 38.48 kB / 0.8657 GB, free: 8.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.4966, allocations: 4 kB / 0.8657 GB, free: 8.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0006639/0.4973, allocations: 173.4 kB / 0.8659 GB, free: 8.727 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.4973, allocations: 55.39 kB / 0.8659 GB, free: 8.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4975, allocations: 182.5 kB / 0.8661 GB, free: 8.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4976, allocations: 25.7 kB / 0.8661 GB, free: 8.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4977, allocations: 127.8 kB / 0.8662 GB, free: 8.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.4977, allocations: 39.67 kB / 0.8663 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.4978, allocations: 41.66 kB / 0.8663 GB, free: 8.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4979, allocations: 322.8 kB / 0.8666 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.498, allocations: 31.98 kB / 0.8666 GB, free: 7.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4981, allocations: 102.5 kB / 0.8667 GB, free: 7.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.4983, allocations: 136.5 kB / 0.8669 GB, free: 7.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4983, allocations: 4 kB / 0.8669 GB, free: 7.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002763/0.4986, allocations: 165.3 kB / 0.867 GB, free: 7.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4986, allocations: 4 kB / 0.867 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.4987, allocations: 67.91 kB / 0.8671 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4987, allocations: 7.984 kB / 0.8671 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4989, allocations: 35.98 kB / 0.8671 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.4989, allocations: 8.219 kB / 0.8671 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.499, allocations: 19.84 kB / 0.8672 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.499, allocations: 15.98 kB / 0.8672 GB, free: 7.25 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.0001159/0.4991, allocations: 130.8 kB / 0.8673 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4991, allocations: 15.84 kB / 0.8673 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.4995, allocations: 197.7 kB / 0.8675 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4995, allocations: 0 / 0.8675 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4995, allocations: 0 / 0.8675 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4995, allocations: 4 kB / 0.8675 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.4998, allocations: 196.6 kB / 0.8677 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001604/0.5, allocations: 113.5 kB / 0.8678 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.5, allocations: 19.92 kB / 0.8678 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5, allocations: 0 / 0.8678 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5, allocations: 4 kB / 0.8678 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5, allocations: 0 / 0.8678 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5, allocations: 0 / 0.8678 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.5003, allocations: 219.4 kB / 0.868 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.5004, allocations: 31.81 kB / 0.8681 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.5004, allocations: 0 / 0.8681 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.958e-05/0.5004, allocations: 8 kB / 0.8681 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.5005, allocations: 7.984 kB / 0.8681 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.5005, allocations: 4 kB / 0.8681 GB, free: 6.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001367/0.5006, allocations: 139.2 kB / 0.8682 GB, free: 6.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5006, allocations: 0 / 0.8682 GB, free: 6.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004155/0.501, allocations: 91.67 kB / 0.8683 GB, free: 6.016 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.00141/0.5024, allocations: 1.034 MB / 0.8693 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5026, allocations: 87.91 kB / 0.8694 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5026, allocations: 0 / 0.8694 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.5028, allocations: 99.88 kB / 0.8695 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.503, allocations: 12 kB / 0.8695 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.5053, allocations: 1.858 MB / 0.8713 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.5057, allocations: 0.7202 MB / 0.872 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.5058, allocations: 65.45 kB / 0.8721 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.506, allocations: 55.33 kB / 0.8721 GB, free: 1.957 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.506, allocations: 4 kB / 0.8722 GB, free: 1.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.537, allocations: 4.651 MB / 0.8767 GB, free: 13.38 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.45, allocations: 10.67 kB / 0.8767 GB, free: 13.38 MB / 0.5607 GB " [Timeout remaining time 648] (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: 16.172470514997258] Failed to read output from testmodel.py, exit status != 0: 11.79828288200224 11.822274672 11.325138833 Calling exit ...