Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_mixture.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.01531/0.01531, allocations: 1.745 MB / 21.38 MB, free: 464 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.9073/0.9073, allocations: 130.7 MB / 155.6 MB, free: 3.805 MB / 126.2 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.001315/0.001315, allocations: 101.4 kB / 187.3 MB, free: 2.445 MB / 142.2 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.001579/0.001579, allocations: 214.9 kB / 219.2 MB, free: 2.602 MB / 174.2 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.592/1.592, allocations: 230.6 MB / 481.5 MB, free: 76 kB / 318.2 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.1237/0.1237, allocations: 25.56 MB / 0.5782 GB, free: 2.156 MB / 430.2 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.TestGas_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",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.005642/0.005642, allocations: 130.2 kB / 0.7703 GB, free: 8.055 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4997, allocations: 89.25 MB / 0.8574 GB, free: 29.58 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.00329/0.5029, allocations: 2.226 MB / 0.8596 GB, free: 28.05 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.5151, allocations: 10.34 MB / 0.8697 GB, free: 21.13 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.5154, allocations: 1.5 kB / 0.8697 GB, free: 21.13 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0009509/0.5164, allocations: 207 kB / 0.8699 GB, free: 21.04 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.5168, allocations: 187.4 kB / 0.8701 GB, free: 20.93 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006626/0.5234, allocations: 2.342 MB / 0.8724 GB, free: 19.76 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.5244, allocations: 0.6824 MB / 0.873 GB, free: 19.47 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.5245, allocations: 24.05 kB / 0.8731 GB, free: 19.45 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.5248, allocations: 243.3 kB / 0.8733 GB, free: 19.36 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009737/0.5257, allocations: 0.9171 MB / 0.8742 GB, free: 19.05 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003774/0.5261, allocations: 201.2 kB / 0.8744 GB, free: 19.05 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006849/0.533, allocations: 2.771 MB / 0.8771 GB, free: 18.09 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.000953/0.5339, allocations: 0.6304 MB / 0.8777 GB, free: 17.62 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0007458/0.5347, allocations: 0.5863 MB / 0.8783 GB, free: 17.19 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.5448, allocations: 4.093 MB / 0.8823 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5448, allocations: 4 kB / 0.8823 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5448, allocations: 1.406 kB / 0.8823 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.5448, allocations: 0 / 0.8823 GB, free: 14.9 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006567/0.5514, allocations: 2.515 MB / 0.8847 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5514, allocations: 9.844 kB / 0.8847 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.656e-05/0.5515, allocations: 13.69 kB / 0.8848 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.5516, allocations: 109.9 kB / 0.8849 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/0.5521, allocations: 82.78 kB / 0.8849 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.5548, allocations: 1.505 MB / 0.8864 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.5548, allocations: 31.19 kB / 0.8864 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.555, allocations: 46.03 kB / 0.8865 GB, free: 12.19 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/0.5613, allocations: 2.913 MB / 0.8893 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5613, allocations: 1.5 kB / 0.8893 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.5614, allocations: 20.33 kB / 0.8893 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.5616, allocations: 104.3 kB / 0.8894 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.5737, allocations: 8.484 MB / 0.8977 GB, free: 7.66 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.5843, allocations: 5.542 MB / 0.9031 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.5879, allocations: 0.8383 MB / 0.904 GB, free: 1.188 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.5883, allocations: 267.7 kB / 0.9042 GB, free: 0.9258 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.5886, allocations: 108.9 kB / 0.9043 GB, free: 0.8164 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5886, allocations: 43.56 kB / 0.9044 GB, free: 0.7656 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=95): time 3.787e-06/0.5886, allocations: 4 kB / 0.9044 GB, free: 0.7617 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95): time 0.007929/0.5965, allocations: 1.605 MB / 0.9059 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.5966, allocations: 60.41 kB / 0.906 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.599, allocations: 1.101 MB / 0.9071 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.5991, allocations: 41.7 kB / 0.9071 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.5995, allocations: 396.3 kB / 0.9075 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.5999, allocations: 341 kB / 0.9078 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008119/0.6007, allocations: 298.8 kB / 0.9081 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00027/0.601, allocations: 386.8 kB / 0.9085 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.602, allocations: 0.5295 MB / 0.909 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.6035, allocations: 0.9263 MB / 0.9099 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.6058, allocations: 1.327 MB / 0.9112 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/0.6059, allocations: 4 kB / 0.9112 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003313/0.6092, allocations: 1.637 MB / 0.9128 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.6092, allocations: 18.48 kB / 0.9128 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.6092, allocations: 16.16 kB / 0.9128 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.663e-05/0.6093, allocations: 20 kB / 0.9128 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.6105, allocations: 327.5 kB / 0.9131 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.557e-05/0.6106, allocations: 27.92 kB / 0.9132 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.612, allocations: 143.1 kB / 0.9133 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.6123, allocations: 160 kB / 0.9135 GB, free: 7.027 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (151): * Single equations (assignments): 151 * 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.0006205/0.6129, allocations: 333.3 kB / 0.9138 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.6132, allocations: 91.38 kB / 0.9139 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/0.6167, allocations: 1.462 MB / 0.9153 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6167, allocations: 8 kB / 0.9153 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.6168, allocations: 0 / 0.9153 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.6168, allocations: 3.984 kB / 0.9153 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.6181, allocations: 0.6297 MB / 0.9159 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.6181, allocations: 0 / 0.9159 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.6188, allocations: 219.8 kB / 0.9161 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.6188, allocations: 4 kB / 0.9161 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/0.6189, allocations: 51.97 kB / 0.9162 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/0.6189, allocations: 4 kB / 0.9162 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6189, allocations: 0 / 0.9162 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6208, allocations: 0.9156 MB / 0.9171 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006929/0.6215, allocations: 255.1 kB / 0.9173 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.6217, allocations: 16 kB / 0.9173 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.6223, allocations: 27.92 kB / 0.9174 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.6225, allocations: 92.86 kB / 0.9175 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/0.6227, allocations: 135.9 kB / 0.9176 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001186/0.6239, allocations: 0.7801 MB / 0.9184 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6239, allocations: 0 / 0.9184 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001982/0.6259, allocations: 439.1 kB / 0.9188 GB, free: 1.52 MB / 0.5919 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 (95): * Single equations (assignments): 95 * 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.004618/0.6305, allocations: 2.225 MB / 0.9209 GB, free: 15.46 MB / 0.6076 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.6326, allocations: 1.029 MB / 0.9219 GB, free: 14.44 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6326, allocations: 0 / 0.9219 GB, free: 14.44 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.6332, allocations: 369.5 kB / 0.9223 GB, free: 14.08 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.6343, allocations: 179.8 kB / 0.9225 GB, free: 13.9 MB / 0.6076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.6493, allocations: 9.014 MB / 0.9313 GB, free: 4.41 MB / 0.6076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.6498, allocations: 397.7 kB / 0.9317 GB, free: 4 MB / 0.6076 GB Notification: Performance of simCode: alias equations: time 0.002446/0.6522, allocations: 0.8564 MB / 0.9325 GB, free: 3.141 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009904/0.6532, allocations: 415.1 kB / 0.9329 GB, free: 2.734 MB / 0.6076 GB Notification: Performance of SimCode: time 1.623e-06/0.6532, allocations: 0 / 0.9329 GB, free: 2.734 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05675/0.71, allocations: 25.62 MB / 0.9579 GB, free: 9.34 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.91, allocations: 9.453 kB / 0.9579 GB, free: 9.336 MB / 0.6388 GB " [Timeout remaining time 646] (rm -f TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_mixture.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_mixture.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_mixture_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas_mixture.fmu > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.90090865106322] Failed to read output from testmodel.py, exit status != 0: 14.34645785705652 14.371584246 13.822093319 Calling exit ...