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.01135/0.01135, allocations: 1.757 MB / 20.6 MB, free: 0.8828 MB / 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.9713/0.9713, allocations: 130.7 MB / 154.8 MB, free: 4.191 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.001441/0.001441, allocations: 111.5 kB / 186.5 MB, free: 2.078 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.001909/0.001909, allocations: 207.3 kB / 218.4 MB, free: 2.238 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.813/1.813, allocations: 230.6 MB / 480.7 MB, free: 72 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.1343/0.1343, allocations: 25.58 MB / 0.5774 GB, free: 2.047 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.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: 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.004047/0.004047, allocations: 135.8 kB / 0.7695 GB, free: 7.926 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.673/0.677, allocations: 89.25 MB / 0.8567 GB, free: 29.55 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestVLEFluidObjectFunctions): time 0.004885/0.6819, allocations: 2.361 MB / 0.859 GB, free: 27.88 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.6925, allocations: 6.857 MB / 0.8657 GB, free: 23.21 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.6927, allocations: 2.219 kB / 0.8657 GB, free: 23.21 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.6939, allocations: 196.7 kB / 0.8659 GB, free: 23.14 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.6947, allocations: 191.6 kB / 0.8661 GB, free: 23.04 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.695, allocations: 92.95 kB / 0.8662 GB, free: 22.99 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.6954, allocations: 130.9 kB / 0.8663 GB, free: 22.93 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.6955, allocations: 10.62 kB / 0.8663 GB, free: 22.93 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.6956, allocations: 68.7 kB / 0.8664 GB, free: 22.89 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.6959, allocations: 66.98 kB / 0.8664 GB, free: 22.87 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.6959, allocations: 3.969 kB / 0.8664 GB, free: 22.87 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005389/0.7013, allocations: 0.8057 MB / 0.8672 GB, free: 22.62 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.7014, allocations: 29.58 kB / 0.8672 GB, free: 22.61 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.7015, allocations: 39.03 kB / 0.8673 GB, free: 22.58 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.703, allocations: 0.5012 MB / 0.8678 GB, free: 22.41 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.703, allocations: 4 kB / 0.8678 GB, free: 22.41 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.386e-06/0.703, allocations: 0 / 0.8678 GB, free: 22.41 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.7031, allocations: 0 / 0.8678 GB, free: 22.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009392/0.704, allocations: 427.7 kB / 0.8682 GB, free: 22.03 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.704, allocations: 10.06 kB / 0.8682 GB, free: 22.03 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.7041, allocations: 33.94 kB / 0.8682 GB, free: 21.99 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.7045, allocations: 29.14 kB / 0.8683 GB, free: 21.98 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.7056, allocations: 319.3 kB / 0.8686 GB, free: 21.77 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.7056, allocations: 5.844 kB / 0.8686 GB, free: 21.76 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.7056, allocations: 3.719 kB / 0.8686 GB, free: 21.76 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.7059, allocations: 76.25 kB / 0.8686 GB, free: 21.7 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7059, allocations: 1.906 kB / 0.8686 GB, free: 21.7 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.7059, allocations: 4 kB / 0.8686 GB, free: 21.7 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7059, allocations: 0 / 0.8686 GB, free: 21.7 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.7061, allocations: 31.45 kB / 0.8687 GB, free: 21.69 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.7067, allocations: 360.4 kB / 0.869 GB, free: 21.34 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.7069, allocations: 48.41 kB / 0.8691 GB, free: 21.31 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.7069, allocations: 17.36 kB / 0.8691 GB, free: 21.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 6.929e-05/0.707, allocations: 8.781 kB / 0.8691 GB, free: 21.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.707, allocations: 33.62 kB / 0.8691 GB, free: 21.26 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.707, allocations: 0 / 0.8691 GB, free: 21.26 MB / 0.5763 GB Notification: Performance of matching and sorting (n=5): time 0.0005374/0.7075, allocations: 103.7 kB / 0.8692 GB, free: 21.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.7076, allocations: 53.77 kB / 0.8693 GB, free: 21.14 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.7079, allocations: 215.9 kB / 0.8695 GB, free: 21 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.7079, allocations: 25.7 kB / 0.8695 GB, free: 20.97 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.708, allocations: 109.5 kB / 0.8696 GB, free: 20.87 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.708, allocations: 20.23 kB / 0.8696 GB, free: 20.86 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.7081, allocations: 24.91 kB / 0.8697 GB, free: 20.84 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.7082, allocations: 330 kB / 0.87 GB, free: 20.51 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.7082, allocations: 12.98 kB / 0.87 GB, free: 20.51 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.7083, allocations: 36.34 kB / 0.87 GB, free: 20.48 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.7084, allocations: 50.09 kB / 0.8701 GB, free: 20.44 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7084, allocations: 5.094 kB / 0.8701 GB, free: 20.43 MB / 0.5763 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001872/0.7086, allocations: 87.58 kB / 0.8702 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7086, allocations: 5.656 kB / 0.8702 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7086, allocations: 1.984 kB / 0.8702 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.7086, allocations: 1.219 kB / 0.8702 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.7087, allocations: 18.84 kB / 0.8702 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.7087, allocations: 0 / 0.8702 GB, free: 20.38 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.7088, allocations: 6.312 kB / 0.8702 GB, free: 20.37 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.7088, allocations: 8.391 kB / 0.8702 GB, free: 20.37 MB / 0.5763 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 0.0001149/0.7089, allocations: 131.7 kB / 0.8703 GB, free: 20.24 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.709, allocations: 19.42 kB / 0.8703 GB, free: 20.23 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.7092, allocations: 109.7 kB / 0.8704 GB, free: 20.16 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.7093, allocations: 3.984 kB / 0.8704 GB, free: 20.16 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7093, allocations: 0.7031 kB / 0.8704 GB, free: 20.16 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.7093, allocations: 0 / 0.8704 GB, free: 20.16 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.7097, allocations: 313.1 kB / 0.8707 GB, free: 19.87 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7097, allocations: 0.6094 kB / 0.8707 GB, free: 19.87 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.7098, allocations: 9.297 kB / 0.8708 GB, free: 19.87 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7098, allocations: 1.188 kB / 0.8708 GB, free: 19.87 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.7098, allocations: 5.891 kB / 0.8708 GB, free: 19.86 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.7098, allocations: 0 / 0.8708 GB, free: 19.86 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7098, allocations: 7.938 kB / 0.8708 GB, free: 19.86 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.7101, allocations: 185 kB / 0.8709 GB, free: 19.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.7101, allocations: 26.64 kB / 0.871 GB, free: 19.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.7102, allocations: 1.531 kB / 0.871 GB, free: 19.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.7102, allocations: 0 / 0.871 GB, free: 19.68 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.7103, allocations: 8.953 kB / 0.871 GB, free: 19.68 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.7103, allocations: 2.219 kB / 0.871 GB, free: 19.68 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001878/0.7105, allocations: 164.6 kB / 0.8711 GB, free: 19.57 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.7105, allocations: 0.9688 kB / 0.8711 GB, free: 19.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0005263/0.711, allocations: 81.03 kB / 0.8712 GB, free: 19.55 MB / 0.5763 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.001631/0.7126, allocations: 1.032 MB / 0.8722 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.7128, allocations: 34.44 kB / 0.8723 GB, free: 18.72 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7128, allocations: 4.125 kB / 0.8723 GB, free: 18.72 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.7129, allocations: 15.78 kB / 0.8723 GB, free: 18.71 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.7132, allocations: 29.02 kB / 0.8723 GB, free: 18.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.7154, allocations: 1.722 MB / 0.874 GB, free: 17.27 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.7155, allocations: 97.88 kB / 0.8741 GB, free: 17.19 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.7157, allocations: 53.11 kB / 0.8741 GB, free: 17.17 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.7158, allocations: 50.2 kB / 0.8742 GB, free: 17.15 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/0.7158, allocations: 0 / 0.8742 GB, free: 17.15 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.7572, allocations: 5.095 MB / 0.8792 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.99, allocations: 7.375 kB / 0.8792 GB, free: 15.22 MB / 0.5763 GB " [Timeout remaining time 646] (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: 19.437185915187] Failed to read output from testmodel.py, exit status != 0: 14.352748847100884 14.378272378 13.669788553 Calling exit ...