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.01014/0.01014, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.8618/0.8618, allocations: 130.8 MB / 154.9 MB, free: 9.164 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.001256/0.001256, allocations: 113.1 kB / 186.6 MB, free: 2.805 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.001511/0.001511, allocations: 201.3 kB / 218.5 MB, free: 5.207 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.537/1.537, allocations: 230.6 MB / 480.8 MB, free: 4.805 MB / 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.1158/0.1158, allocations: 25.55 MB / 0.5774 GB, free: 8.844 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",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.005522/0.005522, allocations: 140.3 kB / 0.7696 GB, free: 4.699 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4917, allocations: 89.26 MB / 0.8568 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.004197/0.4959, allocations: 2.39 MB / 0.8591 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.5118, allocations: 11.51 MB / 0.8704 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.512, allocations: 3.938 kB / 0.8704 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009069/0.5129, allocations: 211 kB / 0.8706 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.5134, allocations: 195.1 kB / 0.8707 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005963/0.5193, allocations: 2.342 MB / 0.873 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.5204, allocations: 0.6761 MB / 0.8737 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.5205, allocations: 16.92 kB / 0.8737 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.5208, allocations: 243.4 kB / 0.8739 GB, free: 464 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.5218, allocations: 0.9201 MB / 0.8748 GB, free: 15.53 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.5221, allocations: 204 kB / 0.875 GB, free: 15.33 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007168/0.5293, allocations: 4.016 MB / 0.879 GB, free: 11.31 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008406/0.5301, allocations: 0.6314 MB / 0.8796 GB, free: 10.68 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0008114/0.531, allocations: 0.6616 MB / 0.8802 GB, free: 10.01 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0089/0.5399, allocations: 4.336 MB / 0.8845 GB, free: 5.668 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 2.009e-05/0.5399, allocations: 7.984 kB / 0.8845 GB, free: 5.66 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5399, allocations: 0 / 0.8845 GB, free: 5.66 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.5399, allocations: 0 / 0.8845 GB, free: 5.66 MB / 0.5607 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.005873/0.5458, allocations: 2.522 MB / 0.8869 GB, free: 3.098 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5458, allocations: 12.03 kB / 0.8869 GB, free: 3.086 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.546, allocations: 114.7 kB / 0.887 GB, free: 2.965 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.5463, allocations: 80.38 kB / 0.8871 GB, free: 2.887 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.5494, allocations: 1.492 MB / 0.8886 GB, free: 1.379 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.5494, allocations: 33.38 kB / 0.8886 GB, free: 1.348 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5496, allocations: 44.36 kB / 0.8887 GB, free: 1.305 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006358/0.5559, allocations: 2.919 MB / 0.8915 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.556, allocations: 7.984 kB / 0.8915 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.5561, allocations: 16 kB / 0.8915 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.5562, allocations: 101.2 kB / 0.8916 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.5695, allocations: 8.477 MB / 0.8999 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.5824, allocations: 5.884 MB / 0.9056 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.5862, allocations: 0.8441 MB / 0.9065 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.5866, allocations: 259.7 kB / 0.9067 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/0.5869, allocations: 124.8 kB / 0.9068 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.5869, allocations: 43.56 kB / 0.9069 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.356e-06/0.5869, allocations: 0 / 0.9069 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007673/0.5946, allocations: 1.605 MB / 0.9084 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.5947, allocations: 60.41 kB / 0.9085 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.5964, allocations: 1.097 MB / 0.9096 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/0.5965, allocations: 41.7 kB / 0.9096 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.5968, allocations: 396.4 kB / 0.91 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.5971, allocations: 349 kB / 0.9103 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004631/0.5976, allocations: 290.8 kB / 0.9106 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.5978, allocations: 390.8 kB / 0.911 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008794/0.5987, allocations: 0.5295 MB / 0.9115 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.6001, allocations: 0.9224 MB / 0.9124 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.6022, allocations: 1.327 MB / 0.9137 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.6022, allocations: 4 kB / 0.9137 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003057/0.6052, allocations: 1.653 MB / 0.9153 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.6053, allocations: 12.06 kB / 0.9153 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.6053, allocations: 16 kB / 0.9153 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/0.6053, allocations: 16 kB / 0.9154 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.6065, allocations: 331.5 kB / 0.9157 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.6066, allocations: 23.92 kB / 0.9157 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.6078, allocations: 143.1 kB / 0.9158 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.608, allocations: 164 kB / 0.916 GB, free: 4.742 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.0005365/0.6085, allocations: 333.2 kB / 0.9163 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.6088, allocations: 87.38 kB / 0.9164 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.6121, allocations: 1.462 MB / 0.9178 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.6121, allocations: 15.94 kB / 0.9178 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6121, allocations: 0 / 0.9178 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.6121, allocations: 3.984 kB / 0.9178 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.6133, allocations: 0.7466 MB / 0.9186 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6133, allocations: 3.938 kB / 0.9186 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.6139, allocations: 219.8 kB / 0.9188 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.6139, allocations: 4 kB / 0.9188 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.614, allocations: 51.97 kB / 0.9188 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.614, allocations: 4 kB / 0.9188 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.614, allocations: 0 / 0.9188 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.6157, allocations: 0.9156 MB / 0.9197 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/0.6163, allocations: 263.1 kB / 0.92 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6165, allocations: 16 kB / 0.92 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.6169, allocations: 19.98 kB / 0.92 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.6171, allocations: 88.86 kB / 0.9201 GB, free: 456 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/0.6172, allocations: 140 kB / 0.9202 GB, free: 316 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001093/0.6183, allocations: 0.7801 MB / 0.921 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6183, allocations: 0 / 0.921 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001409/0.6197, allocations: 439.1 kB / 0.9214 GB, free: 15.1 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.00425/0.624, allocations: 2.191 MB / 0.9235 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00215/0.6261, allocations: 1.03 MB / 0.9246 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6261, allocations: 0 / 0.9246 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.6267, allocations: 365.5 kB / 0.9249 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.6277, allocations: 171.8 kB / 0.9251 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.6415, allocations: 9.018 MB / 0.9339 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.6423, allocations: 0.9904 MB / 0.9348 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002274/0.6446, allocations: 0.8526 MB / 0.9357 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000889/0.6455, allocations: 419.1 kB / 0.9361 GB, free: 15.74 MB / 0.6232 GB Notification: Performance of SimCode: time 1.343e-06/0.6455, allocations: 0 / 0.9361 GB, free: 15.74 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06108/0.7065, allocations: 25.4 MB / 0.9609 GB, free: 6.488 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.28, allocations: 10.28 kB / 0.9609 GB, free: 6.484 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 & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestGas_mixture_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 TILMedia_TILMedia_Testers_TestGas_mixture.fmu > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.035863329001586] Failed to read output from testmodel.py, exit status != 0: 13.64444206799817 13.659116209 13.115903966 Calling exit ...