Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_moistAir.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.0109/0.0109, allocations: 1.752 MB / 21.38 MB, free: 456 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.9344/0.9344, allocations: 130.7 MB / 155.6 MB, free: 4.305 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.001326/0.001326, allocations: 106.1 kB / 187.3 MB, free: 2.094 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.00155/0.00155, allocations: 212 kB / 219.2 MB, free: 2.254 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.624/1.624, allocations: 230.6 MB / 481.5 MB, free: 88 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.1537/0.1537, allocations: 25.57 MB / 0.5782 GB, free: 2.062 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.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",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.004206/0.004206, allocations: 136.4 kB / 0.7703 GB, free: 7.965 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4954, allocations: 89.25 MB / 0.8574 GB, free: 29.64 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.00361/0.499, allocations: 2.204 MB / 0.8596 GB, free: 28.12 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01322/0.5122, allocations: 10.35 MB / 0.8697 GB, free: 21.2 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.5126, allocations: 2.938 kB / 0.8697 GB, free: 21.2 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0009645/0.5135, allocations: 208.2 kB / 0.8699 GB, free: 21.11 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.514, allocations: 180.1 kB / 0.8701 GB, free: 21 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006554/0.5206, allocations: 2.345 MB / 0.8724 GB, free: 19.83 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.5216, allocations: 0.6732 MB / 0.873 GB, free: 19.54 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.5217, allocations: 20.03 kB / 0.873 GB, free: 19.53 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.5221, allocations: 241.6 kB / 0.8733 GB, free: 19.43 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.5233, allocations: 0.853 MB / 0.8741 GB, free: 19.14 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0007114/0.524, allocations: 188.4 kB / 0.8743 GB, free: 19.14 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008002/0.532, allocations: 2.744 MB / 0.877 GB, free: 18.12 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0009764/0.533, allocations: 0.6105 MB / 0.8776 GB, free: 17.68 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.5341, allocations: 0.5691 MB / 0.8781 GB, free: 17.27 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009394/0.5435, allocations: 3.991 MB / 0.882 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.5435, allocations: 4 kB / 0.882 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5435, allocations: 0 / 0.882 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.498e-05/0.5436, allocations: 0 / 0.882 GB, free: 15.05 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.007123/0.5507, allocations: 2.454 MB / 0.8844 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5508, allocations: 9.688 kB / 0.8844 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.482e-05/0.5508, allocations: 14.25 kB / 0.8844 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.551, allocations: 116.2 kB / 0.8845 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004745/0.5515, allocations: 86.7 kB / 0.8846 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.5542, allocations: 1.483 MB / 0.8861 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.5543, allocations: 39.14 kB / 0.8861 GB, free: 12.37 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.5545, allocations: 48.88 kB / 0.8862 GB, free: 12.35 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006492/0.561, allocations: 2.952 MB / 0.889 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.561, allocations: 1.062 kB / 0.889 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.5611, allocations: 16.78 kB / 0.8891 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.5612, allocations: 102.4 kB / 0.8892 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.5729, allocations: 8.515 MB / 0.8975 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.5832, allocations: 6.975 MB / 0.9043 GB, free: 0.75 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004674/0.5879, allocations: 1.459 MB / 0.9057 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.5893, allocations: 0.9563 MB / 0.9066 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.5898, allocations: 176.7 kB / 0.9068 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.5898, allocations: 47.56 kB / 0.9069 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 3.878e-06/0.5898, allocations: 0 / 0.9069 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.01137/0.6012, allocations: 3.736 MB / 0.9105 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.6013, allocations: 68.41 kB / 0.9106 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.6024, allocations: 0.6902 MB / 0.9112 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6025, allocations: 41.7 kB / 0.9113 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.6028, allocations: 356.9 kB / 0.9116 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.6033, allocations: 400.6 kB / 0.912 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005814/0.6039, allocations: 298.8 kB / 0.9123 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.6041, allocations: 390.8 kB / 0.9127 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.6057, allocations: 0.9941 MB / 0.9136 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.6075, allocations: 1.293 MB / 0.9149 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.6111, allocations: 2.374 MB / 0.9172 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.6111, allocations: 4 kB / 0.9172 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004368/0.6155, allocations: 2.535 MB / 0.9197 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.6155, allocations: 8 kB / 0.9197 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.6155, allocations: 15.92 kB / 0.9197 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/0.6156, allocations: 16 kB / 0.9197 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.6181, allocations: 416.1 kB / 0.9201 GB, free: 204 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/0.6186, allocations: 0.6132 MB / 0.9207 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.6195, allocations: 111.2 kB / 0.9208 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.6197, allocations: 160 kB / 0.921 GB, free: 15.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (152): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006189/0.6203, allocations: 333.4 kB / 0.9213 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.6207, allocations: 87.38 kB / 0.9214 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/0.6265, allocations: 2.992 MB / 0.9243 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.6265, allocations: 8 kB / 0.9243 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6265, allocations: 4 kB / 0.9243 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6265, allocations: 3.984 kB / 0.9243 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.6285, allocations: 1.235 MB / 0.9255 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6285, allocations: 0 / 0.9255 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/0.6307, allocations: 347.6 kB / 0.9259 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.361e-05/0.6307, allocations: 7.938 kB / 0.9259 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.6309, allocations: 59.97 kB / 0.9259 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004275/0.6313, allocations: 0.586 MB / 0.9265 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6313, allocations: 4.031 kB / 0.9265 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/0.6352, allocations: 2.341 MB / 0.9288 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.636, allocations: 323 kB / 0.9291 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.6362, allocations: 24 kB / 0.9291 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005477/0.6368, allocations: 32.08 kB / 0.9292 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.637, allocations: 100.8 kB / 0.9293 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/0.6373, allocations: 132 kB / 0.9294 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007328/0.638, allocations: 498.8 kB / 0.9299 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.638, allocations: 0 / 0.9299 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0016/0.6396, allocations: 455 kB / 0.9303 GB, free: 5.68 MB / 0.6075 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 (114): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006457/0.6461, allocations: 3.791 MB / 0.934 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003893/0.65, allocations: 2.404 MB / 0.9363 GB, free: 15.65 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.65, allocations: 8 kB / 0.9363 GB, free: 15.64 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.6518, allocations: 1.157 MB / 0.9375 GB, free: 14.48 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.6534, allocations: 227.9 kB / 0.9377 GB, free: 14.27 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.674, allocations: 13.14 MB / 0.9505 GB, free: 0.75 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.6746, allocations: 422.3 kB / 0.9509 GB, free: 320 kB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.002249/0.6768, allocations: 0.6822 MB / 0.9516 GB, free: 15.62 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000988/0.6778, allocations: 375.3 kB / 0.9519 GB, free: 15.26 MB / 0.6388 GB Notification: Performance of SimCode: time 1.021e-06/0.6778, allocations: 0 / 0.9519 GB, free: 15.26 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05796/0.7358, allocations: 28.06 MB / 0.9794 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.57, allocations: 7.438 kB / 0.9794 GB, free: 3.543 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_moistAir.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_moistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_moistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas_moistAir.fmu > TILMedia_TILMedia.Testers.TestGas_moistAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.621762608992867] Failed to read output from testmodel.py, exit status != 0: 16.003520264057443 16.025509066 15.478235859 Calling exit ...