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.006559/0.006559, allocations: 1.454 MB / 20.54 MB, free: 4 MB / 18.57 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.5725/0.5725, allocations: 102.5 MB / 126.5 MB, free: 13.04 MB / 122.8 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.00108/0.00108, allocations: 97.5 kB / 158.3 MB, free: 13.4 MB / 154.8 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.001237/0.001237, allocations: 155.2 kB / 190.1 MB, free: 31.14 MB / 170.8 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 0.9421/0.9421, allocations: 177.1 MB / 399 MB, free: 7.508 MB / 314.8 MB " [Timeout remaining time 179] 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.0695/0.0695, allocations: 18.23 MB / 0.4905 GB, free: 0.5977 MB / 410.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.6825 GB, free: 2.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.027e-05, allocations: 7.812 kB / 0.6825 GB, free: 2.727 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.003375/0.003405, allocations: 2.23 MB / 0.6847 GB, free: 492 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.01356, allocations: 10.28 MB / 0.6947 GB, free: 6.164 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.01378, allocations: 0 / 0.6947 GB, free: 6.164 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.01465, allocations: 210.9 kB / 0.6949 GB, free: 5.957 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.01499, allocations: 190.9 kB / 0.6951 GB, free: 5.77 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.01941, allocations: 2.398 MB / 0.6975 GB, free: 3.359 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.02014, allocations: 0.6915 MB / 0.6981 GB, free: 2.668 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.479e-05/0.0202, allocations: 12.94 kB / 0.6982 GB, free: 2.652 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.02052, allocations: 323.4 kB / 0.6985 GB, free: 2.336 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.02112, allocations: 0.8698 MB / 0.6993 GB, free: 1.465 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.02127, allocations: 207.9 kB / 0.6995 GB, free: 1.262 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.0252, allocations: 2.754 MB / 0.7022 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006333/0.02583, allocations: 0.6432 MB / 0.7028 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.02625, allocations: 0.5264 MB / 0.7033 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006432/0.03268, allocations: 4.379 MB / 0.7076 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.03269, allocations: 0 / 0.7076 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/0.03269, allocations: 0 / 0.7076 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.03271, allocations: 0 / 0.7076 GB, free: 8.938 MB / 0.5105 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.003858/0.03657, allocations: 2.507 MB / 0.7101 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.03662, allocations: 16.02 kB / 0.7101 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.03676, allocations: 106.7 kB / 0.7102 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.03704, allocations: 80.38 kB / 0.7103 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.0391, allocations: 1.487 MB / 0.7117 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.03913, allocations: 41.36 kB / 0.7117 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.03922, allocations: 36.38 kB / 0.7118 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/0.04315, allocations: 2.924 MB / 0.7146 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.04316, allocations: 192 / 0.7146 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.04323, allocations: 23.92 kB / 0.7147 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-05/0.04331, allocations: 101.2 kB / 0.7148 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008041/0.05135, allocations: 8.372 MB / 0.7229 GB, free: 9.148 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007269/0.05862, allocations: 5.561 MB / 0.7284 GB, free: 3.512 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.06074, allocations: 0.85 MB / 0.7292 GB, free: 2.652 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.06102, allocations: 255.7 kB / 0.7294 GB, free: 2.398 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.06121, allocations: 108.9 kB / 0.7295 GB, free: 2.293 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.06124, allocations: 39.56 kB / 0.7296 GB, free: 2.246 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=95): time 3.066e-06/0.06124, allocations: 0 / 0.7296 GB, free: 2.246 MB / 0.5262 GB Notification: Performance of matching and sorting (n=95): time 0.004154/0.0654, allocations: 1.605 MB / 0.7311 GB, free: 0.6367 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.06545, allocations: 64.41 kB / 0.7312 GB, free: 0.5625 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.06659, allocations: 1.113 MB / 0.7323 GB, free: 15.44 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.06664, allocations: 41.7 kB / 0.7323 GB, free: 15.39 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.06683, allocations: 404.3 kB / 0.7327 GB, free: 14.99 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.067, allocations: 337.1 kB / 0.733 GB, free: 14.66 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.06727, allocations: 294.8 kB / 0.7333 GB, free: 14.36 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002269/0.0675, allocations: 390.8 kB / 0.7337 GB, free: 13.97 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.06807, allocations: 0.5256 MB / 0.7342 GB, free: 13.45 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007487/0.06882, allocations: 0.9107 MB / 0.7351 GB, free: 12.36 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.07008, allocations: 1.327 MB / 0.7364 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.07009, allocations: 7.938 kB / 0.7364 GB, free: 10.85 MB / 0.5418 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001919/0.07201, allocations: 1.641 MB / 0.738 GB, free: 9.199 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.07204, allocations: 12 kB / 0.738 GB, free: 9.188 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.07206, allocations: 23.86 kB / 0.738 GB, free: 9.164 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.07209, allocations: 20 kB / 0.7381 GB, free: 9.145 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.07275, allocations: 331.9 kB / 0.7384 GB, free: 8.82 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/0.07277, allocations: 31.92 kB / 0.7384 GB, free: 8.789 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.07344, allocations: 139.1 kB / 0.7385 GB, free: 8.652 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.07359, allocations: 164 kB / 0.7387 GB, free: 8.492 MB / 0.5418 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.0004077/0.074, allocations: 329.2 kB / 0.739 GB, free: 8.16 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.07413, allocations: 87.44 kB / 0.7391 GB, free: 8.074 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.076, allocations: 1.463 MB / 0.7405 GB, free: 6.602 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.07601, allocations: 12 kB / 0.7405 GB, free: 6.59 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.07602, allocations: 4 kB / 0.7405 GB, free: 6.586 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.07603, allocations: 3.984 kB / 0.7405 GB, free: 6.582 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/0.07675, allocations: 0.6142 MB / 0.7411 GB, free: 5.926 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.07676, allocations: 0 / 0.7411 GB, free: 5.926 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.07708, allocations: 223.7 kB / 0.7414 GB, free: 5.707 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.07708, allocations: 4 kB / 0.7414 GB, free: 5.703 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.07713, allocations: 59.91 kB / 0.7414 GB, free: 5.645 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.07713, allocations: 0 / 0.7414 GB, free: 5.645 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.07713, allocations: 8 kB / 0.7414 GB, free: 5.637 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.0781, allocations: 0.9079 MB / 0.7423 GB, free: 4.711 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.07843, allocations: 259 kB / 0.7426 GB, free: 4.457 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.07851, allocations: 19.94 kB / 0.7426 GB, free: 4.438 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.07876, allocations: 23.98 kB / 0.7426 GB, free: 4.414 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.07885, allocations: 88.86 kB / 0.7427 GB, free: 4.328 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.07895, allocations: 139.9 kB / 0.7428 GB, free: 4.191 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.000662/0.07961, allocations: 0.784 MB / 0.7436 GB, free: 3.414 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.41e-07/0.07961, allocations: 0 / 0.7436 GB, free: 3.414 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.001002/0.08062, allocations: 431.2 kB / 0.744 GB, free: 2.992 MB / 0.5418 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.002469/0.08308, allocations: 2.223 MB / 0.7462 GB, free: 0.957 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.0845, allocations: 1.042 MB / 0.7472 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.08451, allocations: 0 / 0.7472 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.08487, allocations: 366.2 kB / 0.7475 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.08561, allocations: 170.7 kB / 0.7477 GB, free: 15.39 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/0.09526, allocations: 9.006 MB / 0.7565 GB, free: 5.91 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.09557, allocations: 401.6 kB / 0.7569 GB, free: 5.492 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001624/0.09719, allocations: 0.8453 MB / 0.7577 GB, free: 4.641 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006293/0.09782, allocations: 416.1 kB / 0.7581 GB, free: 4.23 MB / 0.5574 GB Notification: Performance of SimCode: time 1.613e-06/0.09782, allocations: 0 / 0.7581 GB, free: 4.23 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2698/0.3676, allocations: 25.74 MB / 0.7832 GB, free: 76.56 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.743, allocations: 10.05 kB / 0.7832 GB, free: 76.55 MB / 0.5574 GB " [Timeout remaining time 651] (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: 11.90443797595799] Failed to read output from testmodel.py, exit status != 0: 9.039564022794366 9.049053165 9.014457446 Calling exit ...