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.01025/0.01025, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.8499/0.8499, allocations: 130.7 MB / 155.6 MB, free: 4.383 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.001273/0.001273, allocations: 111.4 kB / 187.3 MB, free: 2.234 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.001626/0.001626, allocations: 214.3 kB / 219.2 MB, free: 2.375 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.462/1.462, allocations: 230.6 MB / 481.5 MB, free: 15.79 MB / 334.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.1085/0.1085, allocations: 25.54 MB / 0.5782 GB, free: 2.391 MB / 430.1 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.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.003678/0.003678, allocations: 131.8 kB / 0.7704 GB, free: 8.281 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3901, allocations: 89.25 MB / 0.8575 GB, free: 29.78 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.002881/0.393, allocations: 2.384 MB / 0.8598 GB, free: 28.08 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.4036, allocations: 11.52 MB / 0.8711 GB, free: 19.9 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.4038, allocations: 7.281 kB / 0.8711 GB, free: 19.89 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.4045, allocations: 204.1 kB / 0.8713 GB, free: 19.8 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.4048, allocations: 187 kB / 0.8715 GB, free: 19.7 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.4097, allocations: 2.341 MB / 0.8738 GB, free: 18.52 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.4105, allocations: 0.6796 MB / 0.8744 GB, free: 18.23 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.4105, allocations: 18.67 kB / 0.8744 GB, free: 18.22 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.4108, allocations: 247.1 kB / 0.8747 GB, free: 18.12 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008277/0.4116, allocations: 0.9184 MB / 0.8756 GB, free: 17.81 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.4118, allocations: 206.8 kB / 0.8758 GB, free: 17.81 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/0.4186, allocations: 4.009 MB / 0.8797 GB, free: 16.13 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.4192, allocations: 0.6309 MB / 0.8803 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.4198, allocations: 0.6603 MB / 0.8809 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.007277/0.4271, allocations: 4.344 MB / 0.8852 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4271, allocations: 0 / 0.8852 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4271, allocations: 0 / 0.8852 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.4271, allocations: 9.062 kB / 0.8852 GB, free: 12.68 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.005129/0.4322, allocations: 2.521 MB / 0.8877 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4323, allocations: 10.16 kB / 0.8877 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.403e-05/0.4323, allocations: 12.94 kB / 0.8877 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.4324, allocations: 110.4 kB / 0.8878 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/0.4327, allocations: 82.38 kB / 0.8879 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.435, allocations: 1.499 MB / 0.8893 GB, free: 9.996 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.435, allocations: 29.88 kB / 0.8894 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.4352, allocations: 47.58 kB / 0.8894 GB, free: 9.961 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.4411, allocations: 2.915 MB / 0.8922 GB, free: 8.551 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4412, allocations: 3.984 kB / 0.8923 GB, free: 8.547 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.4413, allocations: 17.03 kB / 0.8923 GB, free: 8.535 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.4414, allocations: 98.97 kB / 0.8924 GB, free: 8.504 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.4522, allocations: 8.48 MB / 0.9006 GB, free: 5.07 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.4629, allocations: 5.892 MB / 0.9064 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.4665, allocations: 0.8402 MB / 0.9072 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.467, allocations: 267.7 kB / 0.9075 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.4672, allocations: 116.8 kB / 0.9076 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4673, allocations: 47.56 kB / 0.9076 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.575e-06/0.4673, allocations: 0 / 0.9076 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007175/0.4744, allocations: 1.605 MB / 0.9092 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4745, allocations: 60.41 kB / 0.9093 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.4763, allocations: 1.097 MB / 0.9103 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.4764, allocations: 37.7 kB / 0.9104 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.4767, allocations: 400.4 kB / 0.9107 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.477, allocations: 345 kB / 0.9111 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/0.4776, allocations: 290.8 kB / 0.9114 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4778, allocations: 394.7 kB / 0.9117 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/0.4787, allocations: 0.5217 MB / 0.9122 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.48, allocations: 0.9263 MB / 0.9131 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.4819, allocations: 1.327 MB / 0.9144 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.4819, allocations: 4 kB / 0.9144 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002974/0.4849, allocations: 1.648 MB / 0.9161 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4849, allocations: 8 kB / 0.9161 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.4849, allocations: 19.98 kB / 0.9161 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/0.485, allocations: 16.78 kB / 0.9161 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4862, allocations: 339.5 kB / 0.9164 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/0.4862, allocations: 19.94 kB / 0.9164 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.4876, allocations: 143.1 kB / 0.9166 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.4879, allocations: 164 kB / 0.9167 GB, free: 4.062 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.0005103/0.4884, allocations: 333.2 kB / 0.917 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.4887, allocations: 87.38 kB / 0.9171 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.4918, allocations: 1.463 MB / 0.9186 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4918, allocations: 8 kB / 0.9186 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4918, allocations: 0 / 0.9186 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4919, allocations: 3.984 kB / 0.9186 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.493, allocations: 0.7504 MB / 0.9193 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.493, allocations: 4 kB / 0.9193 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.4936, allocations: 215.8 kB / 0.9195 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.4936, allocations: 4 kB / 0.9195 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/0.4937, allocations: 51.97 kB / 0.9196 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.4937, allocations: 4 kB / 0.9196 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4937, allocations: 3.938 kB / 0.9196 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4953, allocations: 0.9156 MB / 0.9205 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/0.496, allocations: 251.2 kB / 0.9207 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.4962, allocations: 20 kB / 0.9207 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.4967, allocations: 19.98 kB / 0.9207 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.4969, allocations: 96.8 kB / 0.9208 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/0.4971, allocations: 132 kB / 0.921 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001132/0.4982, allocations: 0.784 MB / 0.9217 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.4982, allocations: 0 / 0.9217 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001581/0.4998, allocations: 435.1 kB / 0.9221 GB, free: 14.43 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 (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.004014/0.5038, allocations: 2.186 MB / 0.9243 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.5057, allocations: 1.038 MB / 0.9253 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5057, allocations: 320 / 0.9253 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.5063, allocations: 369.6 kB / 0.9256 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009605/0.5072, allocations: 169.9 kB / 0.9258 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.5228, allocations: 9.018 MB / 0.9346 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.5235, allocations: 0.9982 MB / 0.9356 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002332/0.5258, allocations: 0.8453 MB / 0.9364 GB, free: 15.48 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009331/0.5268, allocations: 415 kB / 0.9368 GB, free: 15.07 MB / 0.6232 GB Notification: Performance of SimCode: time 9.72e-07/0.5268, allocations: 0 / 0.9368 GB, free: 15.07 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/0.5788, allocations: 25.42 MB / 0.9616 GB, free: 5.812 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.99, allocations: 11.98 kB / 0.9616 GB, free: 5.801 MB / 0.6388 GB " [Timeout remaining time 647] (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: 17.395931262988597] Failed to read output from testmodel.py, exit status != 0: 13.410475999000482 13.426553318 12.996446401 Calling exit ...