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.006118/0.006118, 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.5879/0.5879, allocations: 102.5 MB / 126.5 MB, free: 13.02 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.0009854/0.0009854, allocations: 85.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.001067/0.001067, allocations: 161.1 kB / 190.1 MB, free: 31.14 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 1.004/1.004, allocations: 177.1 MB / 399 MB, free: 7.484 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.06976/0.06976, allocations: 18.23 MB / 0.4905 GB, free: 0.6055 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.693e-06/1.693e-06, allocations: 0 / 0.6825 GB, free: 2.715 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.35e-05, allocations: 2.281 kB / 0.6825 GB, free: 2.711 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestVLEFluidObjectFunctions): time 0.002863/0.002886, allocations: 2.353 MB / 0.6848 GB, free: 352 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.009742, allocations: 6.672 MB / 0.6913 GB, free: 9.652 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.009821, allocations: 7.938 kB / 0.6913 GB, free: 9.645 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.01056, allocations: 203 kB / 0.6915 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.01092, allocations: 195 kB / 0.6917 GB, free: 9.254 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.01107, allocations: 91.55 kB / 0.6918 GB, free: 9.164 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.01122, allocations: 127.5 kB / 0.6919 GB, free: 9.039 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.01127, allocations: 17.8 kB / 0.692 GB, free: 9.023 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.01135, allocations: 83.73 kB / 0.692 GB, free: 8.941 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.01147, allocations: 51.86 kB / 0.6921 GB, free: 8.891 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.01148, allocations: 4 kB / 0.6921 GB, free: 8.887 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.01346, allocations: 0.8021 MB / 0.6929 GB, free: 8.199 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.01351, allocations: 27.91 kB / 0.6929 GB, free: 8.172 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.01356, allocations: 31.84 kB / 0.6929 GB, free: 8.141 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.01414, allocations: 0.5217 MB / 0.6934 GB, free: 7.617 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01414, allocations: 0 / 0.6934 GB, free: 7.617 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01414, allocations: 4 kB / 0.6934 GB, free: 7.613 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.01415, allocations: 0 / 0.6934 GB, free: 7.613 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.0004737/0.01462, allocations: 424.8 kB / 0.6938 GB, free: 7.168 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.01466, allocations: 12.03 kB / 0.6939 GB, free: 7.156 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.01469, allocations: 34.75 kB / 0.6939 GB, free: 7.113 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.01483, allocations: 32.81 kB / 0.6939 GB, free: 7.082 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.01532, allocations: 301.2 kB / 0.6942 GB, free: 6.762 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.01533, allocations: 8.312 kB / 0.6942 GB, free: 6.754 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.01535, allocations: 4.375 kB / 0.6942 GB, free: 6.75 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.0155, allocations: 75.94 kB / 0.6943 GB, free: 6.664 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01551, allocations: 192 / 0.6943 GB, free: 6.664 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.01552, allocations: 7.938 kB / 0.6943 GB, free: 6.656 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.01552, allocations: 0 / 0.6943 GB, free: 6.656 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.04e-05/0.0156, allocations: 35.91 kB / 0.6943 GB, free: 6.621 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.01594, allocations: 356.1 kB / 0.6947 GB, free: 6.227 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.01605, allocations: 54.48 kB / 0.6947 GB, free: 6.164 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.01607, allocations: 24.91 kB / 0.6948 GB, free: 6.137 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.01611, allocations: 4 kB / 0.6948 GB, free: 6.133 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.01613, allocations: 34.56 kB / 0.6948 GB, free: 6.09 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.01613, allocations: 0 / 0.6948 GB, free: 6.09 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5): time 0.0002837/0.01641, allocations: 97.56 kB / 0.6949 GB, free: 5.988 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.01644, allocations: 59.41 kB / 0.6949 GB, free: 5.918 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.0166, allocations: 222.8 kB / 0.6951 GB, free: 5.691 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.01661, allocations: 25.7 kB / 0.6952 GB, free: 5.66 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.0167, allocations: 104.1 kB / 0.6953 GB, free: 5.555 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.01671, allocations: 27.72 kB / 0.6953 GB, free: 5.527 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.01674, allocations: 21.72 kB / 0.6953 GB, free: 5.5 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.01682, allocations: 326.8 kB / 0.6956 GB, free: 5.172 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.01684, allocations: 11.92 kB / 0.6956 GB, free: 5.16 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.01687, allocations: 38.56 kB / 0.6957 GB, free: 5.113 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/0.01692, allocations: 46.83 kB / 0.6957 GB, free: 5.059 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01692, allocations: 7.938 kB / 0.6957 GB, free: 5.051 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.251e-05/0.01702, allocations: 89.52 kB / 0.6958 GB, free: 4.957 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.01703, allocations: 4 kB / 0.6958 GB, free: 4.953 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01703, allocations: 0 / 0.6958 GB, free: 4.953 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.01704, allocations: 4 kB / 0.6958 GB, free: 4.949 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.0171, allocations: 15.94 kB / 0.6958 GB, free: 4.934 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.01711, allocations: 0 / 0.6958 GB, free: 4.934 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.01714, allocations: 4 kB / 0.6958 GB, free: 4.93 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.01715, allocations: 7.984 kB / 0.6959 GB, free: 4.922 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.873e-05/0.01722, allocations: 125.8 kB / 0.696 GB, free: 4.789 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.01724, allocations: 15.91 kB / 0.696 GB, free: 4.773 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.01747, allocations: 106.8 kB / 0.6961 GB, free: 4.66 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.01747, allocations: 3.938 kB / 0.6961 GB, free: 4.656 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01748, allocations: 4 kB / 0.6961 GB, free: 4.652 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01748, allocations: 0 / 0.6961 GB, free: 4.652 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.01776, allocations: 321.5 kB / 0.6964 GB, free: 4.289 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01776, allocations: 4 kB / 0.6964 GB, free: 4.285 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.0178, allocations: 8 kB / 0.6964 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.0178, allocations: 0 / 0.6964 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01781, allocations: 8 kB / 0.6964 GB, free: 4.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01781, allocations: 0 / 0.6964 GB, free: 4.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01781, allocations: 0 / 0.6964 GB, free: 4.27 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.01794, allocations: 187.5 kB / 0.6966 GB, free: 4.07 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.01798, allocations: 23.92 kB / 0.6966 GB, free: 4.047 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.01799, allocations: 0 / 0.6966 GB, free: 4.047 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.01803, allocations: 0 / 0.6966 GB, free: 4.047 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.01804, allocations: 7.984 kB / 0.6966 GB, free: 4.039 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.01805, allocations: 4.062 kB / 0.6966 GB, free: 4.035 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001037/0.01815, allocations: 160.6 kB / 0.6968 GB, free: 3.879 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.01815, allocations: 0 / 0.6968 GB, free: 3.879 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002577/0.01841, allocations: 83.67 kB / 0.6969 GB, free: 3.797 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.0008465/0.01925, allocations: 1.024 MB / 0.6979 GB, free: 2.852 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 9.271e-05/0.01935, allocations: 35.92 kB / 0.6979 GB, free: 2.816 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01935, allocations: 0 / 0.6979 GB, free: 2.816 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.01951, allocations: 19.94 kB / 0.6979 GB, free: 2.797 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.01972, allocations: 16.23 kB / 0.6979 GB, free: 2.781 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.02101, allocations: 1.716 MB / 0.6996 GB, free: 0.9727 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.02108, allocations: 102.3 kB / 0.6997 GB, free: 0.8516 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 7.859e-05/0.02116, allocations: 36.73 kB / 0.6997 GB, free: 0.8164 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.02123, allocations: 56.39 kB / 0.6998 GB, free: 0.7617 MB / 0.4949 GB Notification: Performance of SimCode: time 3.81e-07/0.02123, allocations: 0 / 0.6998 GB, free: 0.7617 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.03989, allocations: 5.26 MB / 0.7049 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/7.537, allocations: 64 / 0.7049 GB, free: 11.59 MB / 0.5105 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 TILMedia_TILMedia_Testers_TestVLEFluidObjectFunctions.fmu > TILMedia_TILMedia.Testers.TestVLEFluidObjectFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.867208193987608] Failed to read output from testmodel.py, exit status != 0: 7.819314016029239 7.828645873 7.81259572 Calling exit ...