Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions.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.005897/0.005897, 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.531/0.531, 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.0008894/0.0008894, allocations: 94.98 kB / 158.3 MB, free: 13.4 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.001109/0.001109, allocations: 156.4 kB / 190.1 MB, free: 31.17 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.9003/0.9003, allocations: 177.1 MB / 399 MB, free: 7.539 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.06829/0.06829, allocations: 18.22 MB / 0.4905 GB, free: 0.625 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.TestVLEFluidObjectFunctions,fileNamePrefix="TILMedia_TILMedia_Testers_TestVLEFluidObjectFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestVLEFluidObjectFunctions,fileNamePrefix="TILMedia_TILMedia_Testers_TestVLEFluidObjectFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6825 GB, free: 2.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.748e-05, allocations: 3.969 kB / 0.6825 GB, free: 2.727 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestVLEFluidObjectFunctions): time 0.002757/0.002785, allocations: 2.359 MB / 0.6848 GB, free: 364 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.007094/0.009879, allocations: 6.675 MB / 0.6913 GB, free: 9.66 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.00998, allocations: 4 kB / 0.6914 GB, free: 9.656 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.01075, allocations: 203 kB / 0.6915 GB, free: 9.457 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.01111, allocations: 191 kB / 0.6917 GB, free: 9.27 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.01125, allocations: 91.56 kB / 0.6918 GB, free: 9.18 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.01141, allocations: 135.5 kB / 0.6919 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.01145, allocations: 5.812 kB / 0.6919 GB, free: 9.043 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.01153, allocations: 83.73 kB / 0.692 GB, free: 8.961 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.01164, allocations: 55.8 kB / 0.6921 GB, free: 8.906 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.01166, allocations: 8 kB / 0.6921 GB, free: 8.898 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.01378, allocations: 0.796 MB / 0.6929 GB, free: 8.215 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.01384, allocations: 35.84 kB / 0.6929 GB, free: 8.18 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.01388, allocations: 27.86 kB / 0.6929 GB, free: 8.152 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.01456, allocations: 0.5179 MB / 0.6934 GB, free: 7.633 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01457, allocations: 0 / 0.6934 GB, free: 7.633 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01457, allocations: 3.938 kB / 0.6934 GB, free: 7.629 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.01457, allocations: 4 kB / 0.6934 GB, free: 7.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000568/0.01514, allocations: 424.8 kB / 0.6938 GB, free: 7.18 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.01518, allocations: 12.03 kB / 0.6939 GB, free: 7.168 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.01521, allocations: 34.73 kB / 0.6939 GB, free: 7.125 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.01536, allocations: 32.81 kB / 0.6939 GB, free: 7.094 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.0159, allocations: 301.2 kB / 0.6942 GB, free: 6.773 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.01591, allocations: 4.359 kB / 0.6942 GB, free: 6.77 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.01593, allocations: 8.359 kB / 0.6942 GB, free: 6.762 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.01608, allocations: 79.94 kB / 0.6943 GB, free: 6.672 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01608, allocations: 4.188 kB / 0.6943 GB, free: 6.668 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.01609, allocations: 7.875 kB / 0.6943 GB, free: 6.66 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.0161, allocations: 0 / 0.6943 GB, free: 6.66 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.01617, allocations: 31.92 kB / 0.6943 GB, free: 6.629 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.0165, allocations: 356.1 kB / 0.6947 GB, free: 6.234 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.01661, allocations: 54.48 kB / 0.6947 GB, free: 6.172 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.01663, allocations: 16.98 kB / 0.6947 GB, free: 6.152 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.01666, allocations: 4 kB / 0.6948 GB, free: 6.148 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01669, allocations: 38.55 kB / 0.6948 GB, free: 6.102 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.01669, allocations: 4 kB / 0.6948 GB, free: 6.098 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5): time 0.0002661/0.01695, allocations: 101.5 kB / 0.6949 GB, free: 5.992 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.01698, allocations: 55.41 kB / 0.6949 GB, free: 5.926 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.01718, allocations: 214.8 kB / 0.6951 GB, free: 5.707 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.0172, allocations: 33.7 kB / 0.6952 GB, free: 5.668 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.01725, allocations: 104.1 kB / 0.6953 GB, free: 5.562 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.01726, allocations: 23.73 kB / 0.6953 GB, free: 5.539 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.01729, allocations: 25.7 kB / 0.6953 GB, free: 5.508 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.01736, allocations: 322.8 kB / 0.6956 GB, free: 5.184 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.01739, allocations: 12 kB / 0.6956 GB, free: 5.172 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.01742, allocations: 34.56 kB / 0.6957 GB, free: 5.129 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.01747, allocations: 54.5 kB / 0.6957 GB, free: 5.066 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01747, allocations: 3.938 kB / 0.6957 GB, free: 5.062 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.426e-05/0.01757, allocations: 89.53 kB / 0.6958 GB, free: 4.969 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01758, allocations: 6.656 kB / 0.6958 GB, free: 4.965 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01759, allocations: 0 / 0.6958 GB, free: 4.965 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.0176, allocations: 0 / 0.6958 GB, free: 4.965 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.01766, allocations: 15.98 kB / 0.6958 GB, free: 4.949 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01767, allocations: 7.938 kB / 0.6958 GB, free: 4.941 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.0177, allocations: 4.062 kB / 0.6959 GB, free: 4.938 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01771, allocations: 4 kB / 0.6959 GB, free: 4.934 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.604e-05/0.01778, allocations: 129.8 kB / 0.696 GB, free: 4.797 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.0178, allocations: 15.91 kB / 0.696 GB, free: 4.781 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.01797, allocations: 106.8 kB / 0.6961 GB, free: 4.668 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01797, allocations: 0 / 0.6961 GB, free: 4.668 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01797, allocations: 0 / 0.6961 GB, free: 4.668 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.01798, allocations: 8 kB / 0.6961 GB, free: 4.66 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.01826, allocations: 314 kB / 0.6964 GB, free: 4.305 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01826, allocations: 11.88 kB / 0.6964 GB, free: 4.293 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.01831, allocations: 11.98 kB / 0.6964 GB, free: 4.281 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01831, allocations: 0 / 0.6964 GB, free: 4.281 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.01832, allocations: 4 kB / 0.6964 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01832, allocations: 0 / 0.6964 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01832, allocations: 0 / 0.6964 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.01845, allocations: 179.4 kB / 0.6966 GB, free: 4.086 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.01849, allocations: 27.91 kB / 0.6966 GB, free: 4.059 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.0185, allocations: 0 / 0.6966 GB, free: 4.059 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.01854, allocations: 4.062 kB / 0.6966 GB, free: 4.055 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.01856, allocations: 4 kB / 0.6966 GB, free: 4.051 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.01856, allocations: 0 / 0.6966 GB, free: 4.051 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001547/0.01871, allocations: 160.6 kB / 0.6968 GB, free: 3.895 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.01872, allocations: 3.938 kB / 0.6968 GB, free: 3.891 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002635/0.01898, allocations: 83.67 kB / 0.6969 GB, free: 3.809 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (h) * 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 (5): * Single equations (assignments): 5 * 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.0008566/0.01984, allocations: 1.026 MB / 0.6979 GB, free: 2.863 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01996, allocations: 35.92 kB / 0.6979 GB, free: 2.828 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01996, allocations: 3.938 kB / 0.6979 GB, free: 2.824 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.01998, allocations: 19.98 kB / 0.6979 GB, free: 2.805 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.02023, allocations: 8 kB / 0.6979 GB, free: 2.797 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.02163, allocations: 1.712 MB / 0.6996 GB, free: 0.9922 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.0217, allocations: 98.27 kB / 0.6997 GB, free: 0.875 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 9.934e-05/0.0218, allocations: 56.64 kB / 0.6998 GB, free: 0.8203 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.02188, allocations: 44.47 kB / 0.6998 GB, free: 0.7773 MB / 0.4949 GB Notification: Performance of SimCode: time 8.92e-07/0.02188, allocations: 3.938 kB / 0.6998 GB, free: 0.7734 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.03806, allocations: 5.267 MB / 0.7049 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.462/6.5, allocations: 3.938 kB / 0.705 GB, free: 11.59 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions.pipe ; mkfifo TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions.pipe >> ../files/TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestVLEFluidObjectFunctions_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestVLEFluidObjectFunctions.fmu > TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.366679514758289] Failed to read output from testmodel.py, exit status != 0: 6.779171786271036 6.787607911 6.771187752 Calling exit ...