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.0102/0.0102, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.8812/0.8812, allocations: 130.8 MB / 154.8 MB, free: 9.137 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.001266/0.001266, allocations: 112.4 kB / 186.6 MB, free: 2.809 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.001791/0.001791, allocations: 207.5 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.549/1.549, allocations: 230.6 MB / 480.8 MB, free: 4.836 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.1204/0.1204, allocations: 25.54 MB / 0.5774 GB, free: 8.879 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.00411/0.00411, allocations: 139.8 kB / 0.7696 GB, free: 4.703 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5624/0.5665, allocations: 89.26 MB / 0.8568 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.003833/0.5703, allocations: 2.381 MB / 0.8591 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.5854, allocations: 11.52 MB / 0.8704 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.5857, allocations: 0 / 0.8704 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.5868, allocations: 203.1 kB / 0.8706 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.5873, allocations: 195 kB / 0.8707 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006081/0.5934, allocations: 2.342 MB / 0.873 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008684/0.5943, allocations: 0.6761 MB / 0.8737 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.5943, allocations: 16.92 kB / 0.8737 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.5946, allocations: 251.3 kB / 0.8739 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.5957, allocations: 0.9124 MB / 0.8748 GB, free: 15.65 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.5959, allocations: 204 kB / 0.875 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006247/0.6022, allocations: 4.012 MB / 0.8789 GB, free: 11.43 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.000636/0.6028, allocations: 0.6314 MB / 0.8796 GB, free: 10.8 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0006927/0.6035, allocations: 0.6577 MB / 0.8802 GB, free: 10.14 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006368/0.6099, allocations: 4.347 MB / 0.8845 GB, free: 5.781 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6099, allocations: 0 / 0.8845 GB, free: 5.781 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6099, allocations: 0 / 0.8845 GB, free: 5.781 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.6099, allocations: 4 kB / 0.8845 GB, free: 5.777 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.005543/0.6154, allocations: 2.526 MB / 0.8869 GB, free: 3.211 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6155, allocations: 12.03 kB / 0.8869 GB, free: 3.199 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.6157, allocations: 102.7 kB / 0.887 GB, free: 3.09 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.6159, allocations: 88.25 kB / 0.8871 GB, free: 3.004 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.6186, allocations: 1.495 MB / 0.8886 GB, free: 1.492 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.6187, allocations: 29.38 kB / 0.8886 GB, free: 1.465 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.6188, allocations: 44.36 kB / 0.8886 GB, free: 1.422 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005842/0.6246, allocations: 2.923 MB / 0.8915 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6247, allocations: 3.938 kB / 0.8915 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.6247, allocations: 16 kB / 0.8915 GB, free: 14.44 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.6249, allocations: 101.2 kB / 0.8916 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.6367, allocations: 8.477 MB / 0.8999 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.6483, allocations: 5.888 MB / 0.9056 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.6519, allocations: 0.8441 MB / 0.9065 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.6523, allocations: 259.7 kB / 0.9067 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.6526, allocations: 124.8 kB / 0.9068 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.6526, allocations: 39.56 kB / 0.9069 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.675e-06/0.6526, allocations: 4 kB / 0.9069 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007125/0.6597, allocations: 1.605 MB / 0.9084 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.6598, allocations: 60.41 kB / 0.9085 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.6613, allocations: 1.093 MB / 0.9096 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.6614, allocations: 37.7 kB / 0.9096 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.6617, allocations: 404.3 kB / 0.91 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.662, allocations: 349 kB / 0.9103 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004879/0.6624, allocations: 282.8 kB / 0.9106 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.6627, allocations: 398.8 kB / 0.911 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008916/0.6636, allocations: 0.5256 MB / 0.9115 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.6649, allocations: 0.9146 MB / 0.9124 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.6669, allocations: 1.331 MB / 0.9137 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.6669, allocations: 4 kB / 0.9137 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002868/0.6697, allocations: 1.648 MB / 0.9153 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.6698, allocations: 11.98 kB / 0.9153 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.6698, allocations: 19.98 kB / 0.9153 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.6698, allocations: 16 kB / 0.9153 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.6715, allocations: 340.2 kB / 0.9157 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.955e-05/0.6716, allocations: 27.86 kB / 0.9157 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.6728, allocations: 143 kB / 0.9158 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.673, allocations: 168 kB / 0.916 GB, free: 4.848 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.0005012/0.6735, allocations: 329.2 kB / 0.9163 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.6737, allocations: 87.38 kB / 0.9164 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.6768, allocations: 1.455 MB / 0.9178 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.6768, allocations: 8 kB / 0.9178 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6769, allocations: 0 / 0.9178 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6769, allocations: 3.984 kB / 0.9178 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.6779, allocations: 0.7466 MB / 0.9185 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6779, allocations: 7.875 kB / 0.9186 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.6785, allocations: 227.7 kB / 0.9188 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-06/0.6785, allocations: 4 kB / 0.9188 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.6786, allocations: 51.97 kB / 0.9188 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.6786, allocations: 4 kB / 0.9188 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6786, allocations: 3.938 kB / 0.9188 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.6801, allocations: 0.9079 MB / 0.9197 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.6808, allocations: 263.1 kB / 0.92 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.6809, allocations: 16 kB / 0.92 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.6814, allocations: 23.98 kB / 0.92 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6815, allocations: 88.86 kB / 0.9201 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.6817, allocations: 139.9 kB / 0.9202 GB, free: 428 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001043/0.6827, allocations: 0.7802 MB / 0.921 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6827, allocations: 0 / 0.921 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001371/0.6841, allocations: 439.1 kB / 0.9214 GB, free: 15.21 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.003887/0.688, allocations: 2.177 MB / 0.9235 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.69, allocations: 1.037 MB / 0.9245 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.69, allocations: 0.9375 kB / 0.9245 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.6905, allocations: 365.5 kB / 0.9249 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/0.6913, allocations: 174.8 kB / 0.9251 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.7042, allocations: 9.014 MB / 0.9339 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.7049, allocations: 0.9944 MB / 0.9348 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002177/0.7071, allocations: 0.8563 MB / 0.9357 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/0.7079, allocations: 419.1 kB / 0.9361 GB, free: 15.85 MB / 0.6232 GB Notification: Performance of SimCode: time 7.21e-07/0.7079, allocations: 0 / 0.9361 GB, free: 15.85 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06667/0.7746, allocations: 25.39 MB / 0.9609 GB, free: 6.605 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.37, allocations: 6.781 kB / 0.9609 GB, free: 6.602 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 & /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.88944466318935] Failed to read output from testmodel.py, exit status != 0: 13.737684044986963 13.764863338 13.149559678 Calling exit ...