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.01245/0.01245, allocations: 1.768 MB / 18.12 MB, free: 4.906 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.8732/0.8732, allocations: 130.6 MB / 151.8 MB, free: 10.23 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.001298/0.001298, allocations: 99.84 kB / 183 MB, free: 3.516 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.001466/0.001466, allocations: 212.2 kB / 214.4 MB, free: 7.344 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.548/1.548, allocations: 230.5 MB / 476.2 MB, free: 5.965 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.1162/0.1162, allocations: 25.53 MB / 0.5724 GB, free: 10.58 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.004766/0.004766, allocations: 136.7 kB / 0.7624 GB, free: 7.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5657, allocations: 89.05 MB / 0.8493 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.004108/0.5698, allocations: 2.379 MB / 0.8517 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.5858, allocations: 11.39 MB / 0.8628 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003828/0.5862, allocations: 7.938 kB / 0.8628 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.5873, allocations: 215 kB / 0.863 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.588, allocations: 187.1 kB / 0.8632 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006481/0.5945, allocations: 2.178 MB / 0.8653 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.5956, allocations: 0.6761 MB / 0.866 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.5957, allocations: 24.72 kB / 0.866 GB, free: 2.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.5962, allocations: 239.3 kB / 0.8662 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.5974, allocations: 0.9163 MB / 0.8671 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005585/0.5979, allocations: 200 kB / 0.8673 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007386/0.6053, allocations: 3.793 MB / 0.871 GB, free: 13.48 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.6063, allocations: 0.6276 MB / 0.8716 GB, free: 12.85 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.6076, allocations: 0.6654 MB / 0.8723 GB, free: 12.18 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.009836/0.6174, allocations: 4.336 MB / 0.8765 GB, free: 7.84 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6174, allocations: 0 / 0.8765 GB, free: 7.84 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6174, allocations: 0 / 0.8765 GB, free: 7.84 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.695e-05/0.6175, allocations: 0 / 0.8765 GB, free: 7.84 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.007338/0.6248, allocations: 2.602 MB / 0.879 GB, free: 5.176 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.6249, allocations: 12.62 kB / 0.8791 GB, free: 5.164 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002886/0.6252, allocations: 110.6 kB / 0.8792 GB, free: 5.047 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/0.6256, allocations: 84.36 kB / 0.8792 GB, free: 4.965 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.6285, allocations: 1.559 MB / 0.8808 GB, free: 3.379 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.6286, allocations: 33.38 kB / 0.8808 GB, free: 3.348 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6287, allocations: 36.38 kB / 0.8808 GB, free: 3.312 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006378/0.6351, allocations: 2.919 MB / 0.8837 GB, free: 368 kB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6351, allocations: 0 / 0.8837 GB, free: 368 kB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.6352, allocations: 19.98 kB / 0.8837 GB, free: 348 kB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.6353, allocations: 109.2 kB / 0.8838 GB, free: 240 kB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.6479, allocations: 8.477 MB / 0.8921 GB, free: 7.754 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.6618, allocations: 5.904 MB / 0.8979 GB, free: 1.746 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/0.6659, allocations: 0.8442 MB / 0.8987 GB, free: 0.8945 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.6664, allocations: 259.7 kB / 0.8989 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.6667, allocations: 128.8 kB / 0.899 GB, free: 0.5117 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.6668, allocations: 43.56 kB / 0.8991 GB, free: 472 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=95): time 3.106e-06/0.6668, allocations: 0 / 0.8991 GB, free: 472 kB / 0.5763 GB Notification: Performance of matching and sorting (n=95): time 0.008125/0.6749, allocations: 1.605 MB / 0.9007 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.675, allocations: 60.41 kB / 0.9007 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.6771, allocations: 1.101 MB / 0.9018 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.6772, allocations: 41.7 kB / 0.9018 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.6776, allocations: 396.4 kB / 0.9022 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.678, allocations: 341.1 kB / 0.9025 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000721/0.6787, allocations: 290.8 kB / 0.9028 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002447/0.679, allocations: 394.8 kB / 0.9032 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/0.68, allocations: 0.5217 MB / 0.9037 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.6815, allocations: 0.9265 MB / 0.9046 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.6836, allocations: 1.323 MB / 0.9059 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.6837, allocations: 4 kB / 0.9059 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003298/0.687, allocations: 1.653 MB / 0.9075 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.687, allocations: 12 kB / 0.9075 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.687, allocations: 12 kB / 0.9075 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.562e-05/0.6871, allocations: 23.98 kB / 0.9076 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.6884, allocations: 331.5 kB / 0.9079 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.902e-05/0.6884, allocations: 27.92 kB / 0.9079 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6899, allocations: 139.2 kB / 0.908 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.6901, allocations: 172 kB / 0.9082 GB, free: 6.715 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.0005823/0.6907, allocations: 325.3 kB / 0.9085 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.691, allocations: 91.38 kB / 0.9086 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.6945, allocations: 1.459 MB / 0.91 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.6945, allocations: 8 kB / 0.91 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.6945, allocations: 4 kB / 0.91 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.6945, allocations: 7.969 kB / 0.91 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.6958, allocations: 0.7709 MB / 0.9108 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.6959, allocations: 3.938 kB / 0.9108 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.6965, allocations: 215.8 kB / 0.911 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.6965, allocations: 4 kB / 0.911 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.6966, allocations: 51.97 kB / 0.9111 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.6966, allocations: 4 kB / 0.9111 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6966, allocations: 4 kB / 0.9111 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6984, allocations: 0.9195 MB / 0.912 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/0.699, allocations: 336.2 kB / 0.9123 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.6992, allocations: 16 kB / 0.9123 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.6998, allocations: 23.98 kB / 0.9123 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.6999, allocations: 88.91 kB / 0.9124 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/0.7002, allocations: 132 kB / 0.9125 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001234/0.7014, allocations: 0.7879 MB / 0.9133 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7014, allocations: 0 / 0.9133 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001745/0.7032, allocations: 431.1 kB / 0.9137 GB, free: 0.9609 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.004449/0.7076, allocations: 2.182 MB / 0.9158 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.7097, allocations: 1.033 MB / 0.9168 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7098, allocations: 0 / 0.9168 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.7104, allocations: 365.5 kB / 0.9172 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.7114, allocations: 172.4 kB / 0.9174 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.7265, allocations: 9.013 MB / 0.9262 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.7273, allocations: 0.9982 MB / 0.9271 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0024/0.7297, allocations: 0.8521 MB / 0.928 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009899/0.7307, allocations: 411.1 kB / 0.9284 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of SimCode: time 1.413e-06/0.7307, allocations: 4 kB / 0.9284 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05914/0.7898, allocations: 24.5 MB / 0.9523 GB, free: 9.219 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.404/10.19, allocations: 5.859 kB / 0.9523 GB, free: 9.219 MB / 0.6388 GB " [Timeout remaining time 649] (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: 14.69850492599653] Failed to read output from testmodel.py, exit status != 0: 10.535778022996965 10.562274267 9.939933325 Calling exit ...