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.01095/0.01095, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.9032/0.9032, allocations: 130.7 MB / 154.8 MB, free: 4.281 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.001397/0.001397, allocations: 110.3 kB / 186.5 MB, free: 2.082 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.00177/0.00177, allocations: 202.3 kB / 218.4 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.632/1.632, allocations: 230.6 MB / 480.7 MB, free: 120 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.1412/0.1412, allocations: 25.59 MB / 0.5774 GB, free: 2.066 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_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.004039/0.004039, allocations: 140.5 kB / 0.7695 GB, free: 7.965 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5436, allocations: 89.26 MB / 0.8567 GB, free: 29.52 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.003825/0.5475, allocations: 2.229 MB / 0.8589 GB, free: 27.99 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.561, allocations: 10.35 MB / 0.869 GB, free: 21.08 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.5614, allocations: 1.969 kB / 0.869 GB, free: 21.08 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5625, allocations: 215.1 kB / 0.8692 GB, free: 20.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.563, allocations: 187 kB / 0.8694 GB, free: 20.87 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.007566/0.5705, allocations: 2.334 MB / 0.8716 GB, free: 19.71 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.5717, allocations: 0.6825 MB / 0.8723 GB, free: 19.41 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.5718, allocations: 20.41 kB / 0.8723 GB, free: 19.4 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.5721, allocations: 243 kB / 0.8726 GB, free: 19.31 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009985/0.5731, allocations: 0.9016 MB / 0.8734 GB, free: 19.01 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.5734, allocations: 202.1 kB / 0.8736 GB, free: 19.01 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006916/0.5803, allocations: 2.727 MB / 0.8763 GB, free: 18.11 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0009056/0.5812, allocations: 0.6303 MB / 0.8769 GB, free: 17.64 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0007369/0.582, allocations: 0.5865 MB / 0.8775 GB, free: 17.21 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009977/0.5919, allocations: 4.096 MB / 0.8815 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.592, allocations: 4 kB / 0.8815 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.034e-06/0.592, allocations: 1.125 kB / 0.8815 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.592, allocations: 3.938 kB / 0.8815 GB, free: 14.92 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.006401/0.5984, allocations: 2.515 MB / 0.884 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.5984, allocations: 9.625 kB / 0.884 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.5986, allocations: 106.1 kB / 0.8841 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.5991, allocations: 82.75 kB / 0.8841 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.602, allocations: 1.504 MB / 0.8856 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.602, allocations: 30.75 kB / 0.8856 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.6021, allocations: 39.25 kB / 0.8857 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005744/0.6079, allocations: 2.92 MB / 0.8885 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6079, allocations: 1.844 kB / 0.8885 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.608, allocations: 19.36 kB / 0.8886 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.6081, allocations: 108.3 kB / 0.8887 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.6196, allocations: 8.373 MB / 0.8968 GB, free: 7.742 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.6299, allocations: 5.538 MB / 0.9022 GB, free: 2.121 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.6333, allocations: 0.846 MB / 0.9031 GB, free: 1.262 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.6336, allocations: 263.7 kB / 0.9033 GB, free: 1.004 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.6339, allocations: 104.8 kB / 0.9034 GB, free: 0.9023 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.6339, allocations: 43.56 kB / 0.9035 GB, free: 0.8477 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=95): time 3.046e-06/0.6339, allocations: 8 kB / 0.9035 GB, free: 0.8398 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95): time 0.007228/0.6411, allocations: 1.597 MB / 0.905 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.6412, allocations: 68.34 kB / 0.9051 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.643, allocations: 1.113 MB / 0.9062 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.6431, allocations: 41.7 kB / 0.9062 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.6435, allocations: 396.4 kB / 0.9066 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.6438, allocations: 349 kB / 0.9069 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.6443, allocations: 290.8 kB / 0.9072 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.6445, allocations: 394.7 kB / 0.9076 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000913/0.6454, allocations: 0.5217 MB / 0.9081 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.6468, allocations: 0.9185 MB / 0.909 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.6489, allocations: 1.335 MB / 0.9103 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.6489, allocations: 4 kB / 0.9103 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003012/0.6519, allocations: 1.645 MB / 0.9119 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.652, allocations: 8 kB / 0.9119 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.652, allocations: 24.09 kB / 0.9119 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.652, allocations: 16 kB / 0.9119 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.6533, allocations: 335.5 kB / 0.9123 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.815e-05/0.6533, allocations: 19.94 kB / 0.9123 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.6548, allocations: 143.1 kB / 0.9124 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/0.655, allocations: 168 kB / 0.9126 GB, free: 7.09 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.0005905/0.6556, allocations: 325.3 kB / 0.9129 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.6559, allocations: 95.38 kB / 0.913 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.6592, allocations: 1.459 MB / 0.9144 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6592, allocations: 8 kB / 0.9144 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6592, allocations: 0 / 0.9144 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.6592, allocations: 7.984 kB / 0.9144 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.6605, allocations: 0.6219 MB / 0.915 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.6605, allocations: 3.938 kB / 0.915 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.6611, allocations: 223.7 kB / 0.9152 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.6611, allocations: 7.938 kB / 0.9153 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.6612, allocations: 47.97 kB / 0.9153 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.6612, allocations: 4 kB / 0.9153 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6612, allocations: 0 / 0.9153 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.6628, allocations: 0.9156 MB / 0.9162 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/0.6636, allocations: 263 kB / 0.9165 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.6638, allocations: 16 kB / 0.9165 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.6643, allocations: 27.98 kB / 0.9165 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6644, allocations: 88.86 kB / 0.9166 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/0.6646, allocations: 136 kB / 0.9167 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001158/0.6658, allocations: 0.784 MB / 0.9175 GB, free: 2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6658, allocations: 0 / 0.9175 GB, free: 2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001541/0.6673, allocations: 431.1 kB / 0.9179 GB, free: 1.578 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.004289/0.6716, allocations: 2.229 MB / 0.9201 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.6736, allocations: 1.033 MB / 0.9211 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6736, allocations: 0 / 0.9211 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.6742, allocations: 369.5 kB / 0.9214 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.6752, allocations: 167.8 kB / 0.9216 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.6895, allocations: 9.002 MB / 0.9304 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.69, allocations: 401.7 kB / 0.9308 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002496/0.6925, allocations: 0.853 MB / 0.9316 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009747/0.6935, allocations: 415.1 kB / 0.932 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of SimCode: time 1.984e-06/0.6935, allocations: 0 / 0.932 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0651/0.7586, allocations: 25.62 MB / 0.957 GB, free: 9.316 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.45, allocations: 0 / 0.957 GB, free: 9.316 MB / 0.6388 GB " [Timeout remaining time 645] (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.002 TILMedia_TILMedia_Testers_TestGas_mixture.fmu > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.410365777090192] Failed to read output from testmodel.py, exit status != 0: 14.83494790457189 14.85364684 14.257974982 Calling exit ...