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.005793/0.005793, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.5202/0.5202, 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/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.0007631/0.0007631, allocations: 87.39 kB / 158.3 MB, free: 13.41 MB / 154.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.001037/0.001037, allocations: 166.8 kB / 190.1 MB, free: 31.16 MB / 170.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.89/0.89, allocations: 177.1 MB / 399 MB, free: 7.535 MB / 314.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.07079/0.07079, allocations: 18.24 MB / 0.4905 GB, free: 0.6562 MB / 410.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.6825 GB, free: 2.758 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.192e-05, allocations: 4.391 kB / 0.6825 GB, free: 2.754 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.002174/0.002196, allocations: 1.761 MB / 0.6842 GB, free: 0.9805 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.00424, allocations: 2.249 MB / 0.6864 GB, free: 14.72 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.004304, allocations: 0 / 0.6864 GB, free: 14.72 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.004882, allocations: 171.1 kB / 0.6866 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.005016, allocations: 91.45 kB / 0.6867 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.005625, allocations: 433.9 kB / 0.6871 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.005807, allocations: 167.2 kB / 0.6873 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.005842, allocations: 5.812 kB / 0.6873 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.005918, allocations: 87.73 kB / 0.6874 GB, free: 13.78 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.006057, allocations: 75.78 kB / 0.6874 GB, free: 13.71 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.006071, allocations: 4 kB / 0.6874 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.006642, allocations: 0.5336 MB / 0.688 GB, free: 13.17 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.00669, allocations: 27.86 kB / 0.688 GB, free: 13.14 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.00673, allocations: 35.91 kB / 0.688 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0006294/0.007359, allocations: 0.5725 MB / 0.6886 GB, free: 12.53 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007363, allocations: 0 / 0.6886 GB, free: 12.53 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.272e-06/0.007364, allocations: 0 / 0.6886 GB, free: 12.53 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.007368, allocations: 0 / 0.6886 GB, free: 12.53 MB / 0.4949 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.0004831/0.007851, allocations: 452.6 kB / 0.689 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.007889, allocations: 8.031 kB / 0.689 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.007922, allocations: 42.69 kB / 0.6891 GB, free: 12 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.007957, allocations: 20.83 kB / 0.6891 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.008484, allocations: 369 kB / 0.6894 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.008497, allocations: 8.375 kB / 0.6894 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.008508, allocations: 4.375 kB / 0.6894 GB, free: 11.58 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.008799, allocations: 172.7 kB / 0.6896 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.008808, allocations: 4.125 kB / 0.6896 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.008821, allocations: 11.94 kB / 0.6896 GB, free: 11.37 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.008827, allocations: 0 / 0.6896 GB, free: 11.37 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.008995, allocations: 87.81 kB / 0.6897 GB, free: 11.28 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.009524, allocations: 0.9697 MB / 0.6906 GB, free: 10.24 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.009721, allocations: 78.53 kB / 0.6907 GB, free: 10.15 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.009752, allocations: 24.86 kB / 0.6907 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.009805, allocations: 12.08 kB / 0.6908 GB, free: 10.11 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.009823, allocations: 34.5 kB / 0.6908 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.009825, allocations: 7.984 kB / 0.6908 GB, free: 10.06 MB / 0.4949 GB Notification: Performance of matching and sorting (n=11): time 0.0003936/0.01022, allocations: 180.6 kB / 0.691 GB, free: 9.883 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.01025, allocations: 51.41 kB / 0.691 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01037, allocations: 188.1 kB / 0.6912 GB, free: 9.625 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.01038, allocations: 29.7 kB / 0.6912 GB, free: 9.59 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.01043, allocations: 123.8 kB / 0.6913 GB, free: 9.465 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.01045, allocations: 35.69 kB / 0.6914 GB, free: 9.43 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.0105, allocations: 45.66 kB / 0.6914 GB, free: 9.379 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.01057, allocations: 326.8 kB / 0.6917 GB, free: 9.051 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.01061, allocations: 27.98 kB / 0.6918 GB, free: 9.023 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.01067, allocations: 94.56 kB / 0.6919 GB, free: 8.902 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.01078, allocations: 136.5 kB / 0.692 GB, free: 8.738 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01078, allocations: 0 / 0.692 GB, free: 8.738 MB / 0.4949 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001616/0.01094, allocations: 165.3 kB / 0.6921 GB, free: 8.57 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01096, allocations: 4 kB / 0.6921 GB, free: 8.566 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.308e-05/0.01104, allocations: 71.91 kB / 0.6922 GB, free: 8.496 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01106, allocations: 4.219 kB / 0.6922 GB, free: 8.492 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.01115, allocations: 43.98 kB / 0.6923 GB, free: 8.449 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01116, allocations: 3.938 kB / 0.6923 GB, free: 8.445 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.0112, allocations: 15.89 kB / 0.6923 GB, free: 8.43 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.01121, allocations: 15.98 kB / 0.6923 GB, free: 8.414 MB / 0.4949 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 6.999e-05/0.01128, allocations: 130.2 kB / 0.6924 GB, free: 8.277 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.01131, allocations: 11.91 kB / 0.6924 GB, free: 8.266 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.01156, allocations: 206.6 kB / 0.6926 GB, free: 8.062 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01157, allocations: 3.938 kB / 0.6926 GB, free: 8.059 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01157, allocations: 0 / 0.6926 GB, free: 8.059 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01158, allocations: 3.984 kB / 0.6926 GB, free: 8.055 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.01177, allocations: 184.6 kB / 0.6928 GB, free: 7.832 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001196/0.01189, allocations: 101.6 kB / 0.6929 GB, free: 7.727 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.01195, allocations: 20 kB / 0.6929 GB, free: 7.707 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01195, allocations: 0 / 0.6929 GB, free: 7.707 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.01196, allocations: 4 kB / 0.6929 GB, free: 7.703 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.01197, allocations: 7.938 kB / 0.6929 GB, free: 7.695 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01197, allocations: 4 kB / 0.6929 GB, free: 7.691 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.01211, allocations: 234.1 kB / 0.6932 GB, free: 7.449 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.01215, allocations: 23.89 kB / 0.6932 GB, free: 7.426 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.01216, allocations: 0 / 0.6932 GB, free: 7.426 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.0122, allocations: 7.938 kB / 0.6932 GB, free: 7.418 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.01221, allocations: 11.97 kB / 0.6932 GB, free: 7.406 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01222, allocations: 4 kB / 0.6932 GB, free: 7.402 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 7.283e-05/0.01229, allocations: 136.3 kB / 0.6933 GB, free: 7.27 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.01229, allocations: 96 / 0.6933 GB, free: 7.27 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002896/0.01258, allocations: 95.61 kB / 0.6934 GB, free: 7.176 MB / 0.4949 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.0008259/0.01341, allocations: 1.027 MB / 0.6944 GB, free: 6.215 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.01356, allocations: 91.89 kB / 0.6945 GB, free: 6.125 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01356, allocations: 3.938 kB / 0.6945 GB, free: 6.121 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.01362, allocations: 89.95 kB / 0.6946 GB, free: 6.023 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01382, allocations: 23.92 kB / 0.6946 GB, free: 6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.01524, allocations: 1.829 MB / 0.6964 GB, free: 4.031 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.378e-05/0.01531, allocations: 113.9 kB / 0.6965 GB, free: 3.898 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 9.859e-05/0.01541, allocations: 61.36 kB / 0.6966 GB, free: 3.84 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.01549, allocations: 56.39 kB / 0.6966 GB, free: 3.781 MB / 0.4949 GB Notification: Performance of SimCode: time 5.91e-07/0.01549, allocations: 0 / 0.6966 GB, free: 3.781 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.03354, allocations: 5.113 MB / 0.7016 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.409/6.442, allocations: 14.67 kB / 0.7016 GB, free: 14.76 MB / 0.5105 GB " [Timeout remaining time 653] (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.002 --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: 9.263498809188604] Failed to read output from testmodel.py, exit status != 0: 6.718421352095902 6.72854246 6.719237848 Calling exit ...