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.01114/0.01114, allocations: 1.741 MB / 21.38 MB, free: 476 kB / 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.9203/0.9203, allocations: 130.7 MB / 155.6 MB, free: 4.289 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.001346/0.001346, allocations: 113 kB / 187.3 MB, free: 2.074 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.001677/0.001677, allocations: 219.2 kB / 219.2 MB, free: 2.242 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.547/1.547, allocations: 230.6 MB / 481.5 MB, free: 152 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.1337/0.1337, allocations: 25.58 MB / 0.5782 GB, free: 2.113 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.TestLiquid,fileNamePrefix="TILMedia_TILMedia_Testers_TestLiquid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestLiquid,fileNamePrefix="TILMedia_TILMedia_Testers_TestLiquid",fmuType="cs",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.003845/0.003845, allocations: 131.8 kB / 0.7703 GB, free: 8.004 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4902, allocations: 89.25 MB / 0.8574 GB, free: 29.88 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.00305/0.4933, allocations: 1.754 MB / 0.8591 GB, free: 28.67 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003/0.4963, allocations: 2.273 MB / 0.8614 GB, free: 27.18 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.491e-05/0.4964, allocations: 6.875 kB / 0.8614 GB, free: 27.17 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.4972, allocations: 169.6 kB / 0.8615 GB, free: 27.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.4974, allocations: 81.67 kB / 0.8616 GB, free: 27.05 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4984, allocations: 429.3 kB / 0.862 GB, free: 26.84 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.4987, allocations: 166.3 kB / 0.8622 GB, free: 26.77 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.4987, allocations: 7.234 kB / 0.8622 GB, free: 26.76 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.4988, allocations: 64.14 kB / 0.8623 GB, free: 26.73 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.499, allocations: 83.81 kB / 0.8623 GB, free: 26.7 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.4991, allocations: 5.031 kB / 0.8623 GB, free: 26.7 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.5001, allocations: 0.5306 MB / 0.8629 GB, free: 26.52 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.5001, allocations: 32.27 kB / 0.8629 GB, free: 26.5 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.5002, allocations: 42.48 kB / 0.8629 GB, free: 26.48 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.5012, allocations: 0.5504 MB / 0.8635 GB, free: 26.3 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5012, allocations: 0 / 0.8635 GB, free: 26.3 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5012, allocations: 4 kB / 0.8635 GB, free: 26.3 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5012, allocations: 0.75 kB / 0.8635 GB, free: 26.3 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006838/0.5019, allocations: 462.9 kB / 0.8639 GB, free: 25.9 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.502, allocations: 8.688 kB / 0.8639 GB, free: 25.9 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.34e-05/0.502, allocations: 7.375 kB / 0.8639 GB, free: 25.9 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.502, allocations: 40.08 kB / 0.864 GB, free: 25.86 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.5021, allocations: 19.66 kB / 0.864 GB, free: 25.84 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.5028, allocations: 356.9 kB / 0.8643 GB, free: 25.61 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5029, allocations: 7.219 kB / 0.8643 GB, free: 25.61 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.5029, allocations: 14.81 kB / 0.8643 GB, free: 25.6 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.5034, allocations: 175.9 kB / 0.8645 GB, free: 25.47 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5034, allocations: 1.594 kB / 0.8645 GB, free: 25.47 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5034, allocations: 1.25 kB / 0.8645 GB, free: 25.47 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5034, allocations: 2.844 kB / 0.8645 GB, free: 25.47 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.5038, allocations: 83.7 kB / 0.8646 GB, free: 25.45 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.5044, allocations: 0.9788 MB / 0.8656 GB, free: 24.48 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.5048, allocations: 80.28 kB / 0.8656 GB, free: 24.45 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.5048, allocations: 24.94 kB / 0.8657 GB, free: 24.43 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.147e-05/0.5049, allocations: 14.19 kB / 0.8657 GB, free: 24.43 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.5049, allocations: 36.69 kB / 0.8657 GB, free: 24.38 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.5049, allocations: 0 / 0.8657 GB, free: 24.38 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11): time 0.0006903/0.5056, allocations: 165 kB / 0.8659 GB, free: 24.32 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.5056, allocations: 53.39 kB / 0.8659 GB, free: 24.25 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.5058, allocations: 188.8 kB / 0.8661 GB, free: 24.12 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.5058, allocations: 25.7 kB / 0.8661 GB, free: 24.09 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.5059, allocations: 127.9 kB / 0.8662 GB, free: 23.97 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.5059, allocations: 35.8 kB / 0.8663 GB, free: 23.95 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.506, allocations: 45.45 kB / 0.8663 GB, free: 23.91 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.506, allocations: 321.4 kB / 0.8666 GB, free: 23.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.5061, allocations: 32.2 kB / 0.8667 GB, free: 23.59 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5062, allocations: 89.66 kB / 0.8667 GB, free: 23.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5063, allocations: 140.3 kB / 0.8669 GB, free: 23.38 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5063, allocations: 4 kB / 0.8669 GB, free: 23.37 MB / 0.5763 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002428/0.5066, allocations: 167.4 kB / 0.867 GB, free: 23.29 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5066, allocations: 6.094 kB / 0.867 GB, free: 23.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.5067, allocations: 71.28 kB / 0.8671 GB, free: 23.26 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5067, allocations: 3.875 kB / 0.8671 GB, free: 23.26 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.5069, allocations: 38.31 kB / 0.8671 GB, free: 23.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5069, allocations: 5.094 kB / 0.8672 GB, free: 23.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.507, allocations: 25 kB / 0.8672 GB, free: 23.24 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.507, allocations: 12.92 kB / 0.8672 GB, free: 23.23 MB / 0.5763 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 8.578e-05/0.5071, allocations: 129.5 kB / 0.8673 GB, free: 23.11 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.5071, allocations: 18.44 kB / 0.8673 GB, free: 23.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.5075, allocations: 193 kB / 0.8675 GB, free: 23.01 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5075, allocations: 10.42 kB / 0.8675 GB, free: 23 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5075, allocations: 0 / 0.8675 GB, free: 23 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5075, allocations: 0.7969 kB / 0.8675 GB, free: 23 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.5077, allocations: 191.5 kB / 0.8677 GB, free: 22.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001366/0.5079, allocations: 114.6 kB / 0.8678 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.5079, allocations: 17.38 kB / 0.8678 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5079, allocations: 5.594 kB / 0.8678 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.508, allocations: 2.016 kB / 0.8678 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.508, allocations: 1.406 kB / 0.8678 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.508, allocations: 0 / 0.8678 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.5082, allocations: 214.4 kB / 0.868 GB, free: 22.59 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.5082, allocations: 29.25 kB / 0.8681 GB, free: 22.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.5082, allocations: 5.281 kB / 0.8681 GB, free: 22.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.95e-05/0.5083, allocations: 1.219 kB / 0.8681 GB, free: 22.57 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.5083, allocations: 11.97 kB / 0.8681 GB, free: 22.56 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.5083, allocations: 8.688 kB / 0.8681 GB, free: 22.56 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 9.561e-05/0.5084, allocations: 140.6 kB / 0.8682 GB, free: 22.46 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5084, allocations: 4 kB / 0.8682 GB, free: 22.46 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004738/0.5089, allocations: 89.55 kB / 0.8683 GB, free: 22.43 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 (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.001274/0.5102, allocations: 1.03 MB / 0.8693 GB, free: 21.62 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.5104, allocations: 90.16 kB / 0.8694 GB, free: 21.59 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5104, allocations: 64 / 0.8694 GB, free: 21.59 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5105, allocations: 96.64 kB / 0.8695 GB, free: 21.52 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.5108, allocations: 15.33 kB / 0.8695 GB, free: 21.51 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.5126, allocations: 1.873 MB / 0.8713 GB, free: 19.95 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.809e-05/0.5127, allocations: 101.5 kB / 0.8714 GB, free: 19.88 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.5129, allocations: 62.64 kB / 0.8715 GB, free: 19.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.513, allocations: 60.72 kB / 0.8716 GB, free: 19.83 MB / 0.5763 GB Notification: Performance of SimCode: time 4.51e-07/0.513, allocations: 0 / 0.8716 GB, free: 19.83 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.5402, allocations: 4.711 MB / 0.8762 GB, free: 18.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.32, allocations: 7.625 kB / 0.8762 GB, free: 18.5 MB / 0.5763 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestLiquid.fmu > TILMedia_TILMedia.Testers.TestLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.082847138051875] Failed to read output from testmodel.py, exit status != 0: 12.73271354904864 12.749505768 12.245061696 Calling exit ...