Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.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.005921/0.005921, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.5912/0.5912, allocations: 102.5 MB / 126.5 MB, free: 13.03 MB / 122.8 MB " [Timeout remaining time 179] 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.06452/0.06452, allocations: 18.22 MB / 176.4 MB, free: 11.65 MB / 170.8 MB " [Timeout remaining time 180] 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.0008002/0.0008002, allocations: 81.3 kB / 215.5 MB, free: 13.87 MB / 202.8 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.001156/0.001156, allocations: 162.2 kB / 254.6 MB, free: 6.664 MB / 234.8 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 0.8674/0.8674, allocations: 177.1 MB / 470.8 MB, free: 15.54 MB / 346.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo): time 0.002343/0.002343, allocations: 0.5493 MB / 0.5504 GB, free: 2.469 MB / 426.8 MB " [Timeout remaining time 180] Using package TILMedia_AddOn_Tests with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia_AddOn_Tests.Liquid.LiquidModel,fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests_Liquid_LiquidModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia_AddOn_Tests.Liquid.LiquidModel,fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests_Liquid_LiquidModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7443 GB, free: 11.51 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.753e-05, allocations: 6.219 kB / 0.7443 GB, free: 11.5 MB / 0.573 GB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidModel): time 0.001523/0.001541, allocations: 0.6953 MB / 0.745 GB, free: 10.8 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.003762, allocations: 1.758 MB / 0.7467 GB, free: 9.031 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.003817, allocations: 4 kB / 0.7467 GB, free: 9.027 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007169/0.004534, allocations: 139.3 kB / 0.7468 GB, free: 8.891 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.004707, allocations: 75.66 kB / 0.7469 GB, free: 8.816 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 5.401e-06/0.004713, allocations: 0 / 0.7469 GB, free: 8.816 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.004815, allocations: 39.84 kB / 0.7469 GB, free: 8.777 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.004861, allocations: 4 kB / 0.747 GB, free: 8.773 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.00492, allocations: 27.91 kB / 0.747 GB, free: 8.746 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.005007, allocations: 15.92 kB / 0.747 GB, free: 8.73 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.00502, allocations: 4 kB / 0.747 GB, free: 8.727 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.005287, allocations: 171.6 kB / 0.7472 GB, free: 8.559 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.005325, allocations: 7.922 kB / 0.7472 GB, free: 8.551 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.005344, allocations: 12 kB / 0.7472 GB, free: 8.539 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.005583, allocations: 187.4 kB / 0.7474 GB, free: 8.355 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005585, allocations: 0 / 0.7474 GB, free: 8.355 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.005587, allocations: 0 / 0.7474 GB, free: 8.355 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.005591, allocations: 0 / 0.7474 GB, free: 8.355 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003528/0.005944, allocations: 313.7 kB / 0.7477 GB, free: 8.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.005985, allocations: 8.031 kB / 0.7477 GB, free: 8.012 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.006015, allocations: 30.75 kB / 0.7477 GB, free: 7.973 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.006124, allocations: 16.88 kB / 0.7477 GB, free: 7.957 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.006512, allocations: 233.5 kB / 0.7479 GB, free: 7.703 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.006526, allocations: 8.375 kB / 0.7479 GB, free: 7.695 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.006535, allocations: 384 / 0.7479 GB, free: 7.695 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.006684, allocations: 55.91 kB / 0.748 GB, free: 7.629 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006692, allocations: 192 / 0.748 GB, free: 7.629 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.0067, allocations: 3.938 kB / 0.748 GB, free: 7.625 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.006706, allocations: 4 kB / 0.748 GB, free: 7.621 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.006754, allocations: 11.92 kB / 0.748 GB, free: 7.609 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.00689, allocations: 137.7 kB / 0.7481 GB, free: 7.43 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.325e-05/0.006964, allocations: 37.22 kB / 0.7482 GB, free: 7.375 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.006987, allocations: 21.7 kB / 0.7482 GB, free: 7.348 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.007031, allocations: 8 kB / 0.7482 GB, free: 7.34 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.007052, allocations: 34.56 kB / 0.7482 GB, free: 7.297 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.007053, allocations: 0 / 0.7482 GB, free: 7.297 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0002257/0.007279, allocations: 69.55 kB / 0.7483 GB, free: 7.223 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.007318, allocations: 77.11 kB / 0.7484 GB, free: 7.129 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.007417, allocations: 129.8 kB / 0.7485 GB, free: 6.992 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.007429, allocations: 29.7 kB / 0.7485 GB, free: 6.957 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.007458, allocations: 80.14 kB / 0.7486 GB, free: 6.875 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.007479, allocations: 7.953 kB / 0.7486 GB, free: 6.867 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.007508, allocations: 25.91 kB / 0.7486 GB, free: 6.836 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.007588, allocations: 314.8 kB / 0.7489 GB, free: 6.52 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.007599, allocations: 0 / 0.7489 GB, free: 6.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.007614, allocations: 17.72 kB / 0.749 GB, free: 6.496 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.007644, allocations: 21.66 kB / 0.749 GB, free: 6.469 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007646, allocations: 0 / 0.749 GB, free: 6.469 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.964e-05/0.007696, allocations: 45.69 kB / 0.749 GB, free: 6.418 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007708, allocations: 7.938 kB / 0.749 GB, free: 6.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007714, allocations: 8.062 kB / 0.749 GB, free: 6.402 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.007727, allocations: 0 / 0.749 GB, free: 6.402 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.007779, allocations: 4 kB / 0.749 GB, free: 6.398 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007784, allocations: 0 / 0.749 GB, free: 6.398 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.007801, allocations: 7.938 kB / 0.7491 GB, free: 6.391 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.00781, allocations: 0 / 0.7491 GB, free: 6.391 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.141e-05/0.007872, allocations: 118.5 kB / 0.7492 GB, free: 6.266 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.007879, allocations: 3.953 kB / 0.7492 GB, free: 6.262 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.008002, allocations: 73.02 kB / 0.7492 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.008003, allocations: 0 / 0.7492 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.008011, allocations: 0 / 0.7492 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008015, allocations: 0 / 0.7492 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.604e-05/0.008091, allocations: 132.8 kB / 0.7494 GB, free: 6.008 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.008091, allocations: 0 / 0.7494 GB, free: 6.008 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.008102, allocations: 4 kB / 0.7494 GB, free: 6.004 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.008104, allocations: 0 / 0.7494 GB, free: 6.004 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.00811, allocations: 3.938 kB / 0.7494 GB, free: 6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.008114, allocations: 11.92 kB / 0.7494 GB, free: 5.988 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008115, allocations: 64 / 0.7494 GB, free: 5.988 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.647e-05/0.008171, allocations: 77.89 kB / 0.7495 GB, free: 5.891 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.008196, allocations: 7.984 kB / 0.7495 GB, free: 5.883 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.008208, allocations: 7.938 kB / 0.7495 GB, free: 5.875 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.008217, allocations: 0 / 0.7495 GB, free: 5.875 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.00823, allocations: 4 kB / 0.7495 GB, free: 5.871 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.008232, allocations: 0 / 0.7495 GB, free: 5.871 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.008282, allocations: 107.2 kB / 0.7496 GB, free: 5.766 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.008282, allocations: 0 / 0.7496 GB, free: 5.766 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001707/0.008453, allocations: 39.88 kB / 0.7496 GB, free: 5.727 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005672/0.00902, allocations: 0.7924 MB / 0.7504 GB, free: 4.949 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.009083, allocations: 4 kB / 0.7504 GB, free: 4.945 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.009086, allocations: 4 kB / 0.7504 GB, free: 4.941 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.368e-06/0.009095, allocations: 7.938 kB / 0.7504 GB, free: 4.934 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.009205, allocations: 6.75 kB / 0.7504 GB, free: 4.93 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.009964, allocations: 1.207 MB / 0.7516 GB, free: 3.625 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.01001, allocations: 71.27 kB / 0.7517 GB, free: 3.535 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.132e-05/0.01005, allocations: 19.97 kB / 0.7517 GB, free: 3.516 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.0101, allocations: 28.53 kB / 0.7517 GB, free: 3.488 MB / 0.573 GB Notification: Performance of SimCode: time 4.51e-07/0.0101, allocations: 4 kB / 0.7517 GB, free: 3.484 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.02534, allocations: 3 MB / 0.7546 GB, free: 0.543 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.037, allocations: 10.33 kB / 0.7547 GB, free: 0.5352 MB / 0.573 GB " [Timeout remaining time 653] (rm -f TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe ; mkfifo TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe ; head -c 1048576 < TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe >> ../files/TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.sim & python3 -m fmpy simulate --output-file TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 TILMedia_AddOn_Tests_TILMedia_AddOn_Tests_Liquid_LiquidModel.fmu > TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.456047246232629] Failed to read output from testmodel.py, exit status != 0: 7.325882480479777 7.334117825 7.3268387 Calling exit ...