Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit.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.006141/0.006141, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.598/0.598, allocations: 102.5 MB / 126.5 MB, free: 13.01 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.0008809/0.0008809, allocations: 81.69 kB / 158.3 MB, free: 13.39 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.001121/0.001121, allocations: 168.3 kB / 190.1 MB, free: 31.13 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.9978/0.9978, 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.07045/0.07045, allocations: 18.23 MB / 0.4905 GB, free: 0.6211 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.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit,fileNamePrefix="TILMedia_TILMedia_Internals_GasDiffusionCoefficients_Testers_TesterBinaryDiffCoeffLit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit,fileNamePrefix="TILMedia_TILMedia_Internals_GasDiffusionCoefficients_Testers_TesterBinaryDiffCoeffLit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.6827 GB, free: 2.598 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.563e-05, allocations: 2.281 kB / 0.6827 GB, free: 2.594 MB / 490.8 MB Notification: Performance of NFInst.instantiate(TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit): time 0.002745/0.002771, allocations: 2.455 MB / 0.6851 GB, free: 128 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.005058/0.007829, allocations: 4.303 MB / 0.6893 GB, free: 11.81 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.007986, allocations: 0 / 0.6893 GB, free: 11.81 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.009223, allocations: 414 kB / 0.6897 GB, free: 11.4 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.009805, allocations: 0.5143 MB / 0.6902 GB, free: 10.88 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 8.784e-05/0.009893, allocations: 51.86 kB / 0.6902 GB, free: 10.83 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.01781/0.0277, allocations: 7.391 MB / 0.6974 GB, free: 5.148 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.0278, allocations: 21.28 kB / 0.6974 GB, free: 5.125 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.02835, allocations: 0.6863 MB / 0.6981 GB, free: 4.438 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.02908, allocations: 0.8263 MB / 0.6989 GB, free: 3.609 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.02922, allocations: 88 kB / 0.699 GB, free: 3.523 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.03046, allocations: 0.6901 MB / 0.6997 GB, free: 2.832 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.03087, allocations: 0.518 MB / 0.7002 GB, free: 2.312 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.03121, allocations: 446.6 kB / 0.7006 GB, free: 1.875 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.03307, allocations: 2.099 MB / 0.7027 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03308, allocations: 0 / 0.7027 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/0.03308, allocations: 0 / 0.7027 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.0331, allocations: 0 / 0.7027 GB, free: 15.77 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: 358 * Number of variables: 358 Notification: Performance of Generate backend data structure: time 0.004181/0.03728, allocations: 2.559 MB / 0.7052 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.03734, allocations: 8.031 kB / 0.7052 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.03754, allocations: 187.2 kB / 0.7053 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.03778, allocations: 132 kB / 0.7055 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.03965, allocations: 2.306 MB / 0.7077 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.03969, allocations: 58.38 kB / 0.7078 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.03985, allocations: 72.38 kB / 0.7078 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.0418, allocations: 2.231 MB / 0.71 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.04182, allocations: 7.938 kB / 0.71 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.04191, allocations: 36 kB / 0.7101 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.894e-05/0.04201, allocations: 177.9 kB / 0.7102 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.04446, allocations: 2.388 MB / 0.7126 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008605/0.05306, allocations: 8.15 MB / 0.7205 GB, free: 13.06 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.05329, allocations: 292.6 kB / 0.7208 GB, free: 12.65 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.05349, allocations: 108 kB / 0.7209 GB, free: 12.5 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.05351, allocations: 11.94 kB / 0.7209 GB, free: 12.49 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.05354, allocations: 46.5 kB / 0.721 GB, free: 12.43 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/0.05355, allocations: 0 / 0.721 GB, free: 12.43 MB / 0.5262 GB Notification: Performance of matching and sorting (n=28): time 0.0007408/0.05429, allocations: 376.2 kB / 0.7213 GB, free: 12.06 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.05441, allocations: 407.2 kB / 0.7217 GB, free: 11.57 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.05716, allocations: 3.636 MB / 0.7253 GB, free: 7.914 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.05718, allocations: 29.7 kB / 0.7253 GB, free: 7.879 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/0.05768, allocations: 1.216 MB / 0.7265 GB, free: 6.648 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.05777, allocations: 159.1 kB / 0.7266 GB, free: 6.492 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007338/0.0585, allocations: 0.8255 MB / 0.7274 GB, free: 5.656 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.05859, allocations: 334 kB / 0.7278 GB, free: 5.324 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.05991, allocations: 1.216 MB / 0.7289 GB, free: 4.105 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.06201, allocations: 3.104 MB / 0.732 GB, free: 44 kB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.0651, allocations: 3.789 MB / 0.7357 GB, free: 11.3 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.076e-05/0.06514, allocations: 16 kB / 0.7357 GB, free: 11.29 MB / 0.5418 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.005777/0.07091, allocations: 4.335 MB / 0.7399 GB, free: 6.949 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.07097, allocations: 39.94 kB / 0.74 GB, free: 6.91 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.867e-05/0.07107, allocations: 68 kB / 0.74 GB, free: 6.844 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.141e-05/0.07115, allocations: 92.73 kB / 0.7401 GB, free: 6.754 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.0733, allocations: 0.936 MB / 0.741 GB, free: 5.816 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.041e-05/0.07338, allocations: 127.5 kB / 0.7412 GB, free: 5.691 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.07635, allocations: 0.7627 MB / 0.7419 GB, free: 4.926 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/0.07663, allocations: 327.8 kB / 0.7422 GB, free: 4.605 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 308 * Number of states: 0 () * Number of discrete variables: 14 (idxVector2[7],idxVector2[6],idxVector2[5],idxVector2[4],idxVector2[3],idxVector2[2],idxVector2[1],idxVector[7],idxVector[6],idxVector[5],idxVector[4],idxVector[3],idxVector[2],idxVector[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (372): * Single equations (assignments): 372 * 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.0005314/0.07716, allocations: 0.4949 MB / 0.7427 GB, free: 4.102 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.07754, allocations: 143.1 kB / 0.7428 GB, free: 3.961 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.07798, allocations: 314.4 kB / 0.7431 GB, free: 3.633 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.07799, allocations: 8 kB / 0.7431 GB, free: 3.625 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.078, allocations: 4 kB / 0.7431 GB, free: 3.621 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.078, allocations: 4 kB / 0.7431 GB, free: 3.617 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.08005, allocations: 2.157 MB / 0.7453 GB, free: 1.324 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.08005, allocations: 4 kB / 0.7453 GB, free: 1.32 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.08017, allocations: 55.92 kB / 0.7453 GB, free: 1.266 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.08018, allocations: 11.98 kB / 0.7453 GB, free: 1.254 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.08019, allocations: 12 kB / 0.7453 GB, free: 1.242 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.0802, allocations: 11.94 kB / 0.7453 GB, free: 1.23 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.0802, allocations: 11.94 kB / 0.7454 GB, free: 1.219 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.08067, allocations: 465.9 kB / 0.7458 GB, free: 0.6641 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.08113, allocations: 274.7 kB / 0.7461 GB, free: 404 kB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.08128, allocations: 12 kB / 0.7461 GB, free: 392 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.08191, allocations: 144 kB / 0.7462 GB, free: 248 kB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.08195, allocations: 39.78 kB / 0.7462 GB, free: 208 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.08196, allocations: 16 kB / 0.7463 GB, free: 192 kB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002058/0.08402, allocations: 2.523 MB / 0.7487 GB, free: 13.67 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8e-08/0.08402, allocations: 0 / 0.7487 GB, free: 13.67 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001785/0.0858, allocations: 0.6476 MB / 0.7494 GB, free: 13.02 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (27): * Single equations (assignments): 27 * 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.00141/0.08721, allocations: 1.42 MB / 0.7507 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.08933, allocations: 1.963 MB / 0.7527 GB, free: 9.59 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.08933, allocations: 0 / 0.7527 GB, free: 9.59 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.08942, allocations: 77.05 kB / 0.7527 GB, free: 9.516 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.08997, allocations: 109.4 kB / 0.7528 GB, free: 9.406 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2484/0.3384, allocations: 19.62 MB / 0.772 GB, free: 76.14 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.339, allocations: 0.4888 MB / 0.7725 GB, free: 76.03 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001746/0.3407, allocations: 0.7845 MB / 0.7732 GB, free: 75.87 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006475/0.3414, allocations: 0.5244 MB / 0.7738 GB, free: 75.55 MB / 0.5574 GB Notification: Performance of SimCode: time 1.843e-06/0.3414, allocations: 0 / 0.7738 GB, free: 75.55 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04282/0.3842, allocations: 35.63 MB / 0.8086 GB, free: 57.15 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.414, allocations: 3.375 kB / 0.8086 GB, free: 57.15 MB / 0.5574 GB " [Timeout remaining time 651] (rm -f TILMedia_TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit.pipe ; mkfifo TILMedia_TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit.pipe ; head -c 1048576 < TILMedia_TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit.pipe >> ../files/TILMedia_TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit.sim & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 TILMedia_TILMedia_Internals_GasDiffusionCoefficients_Testers_TesterBinaryDiffCoeffLit.fmu > TILMedia_TILMedia.Internals.GasDiffusionCoefficients.Testers.TesterBinaryDiffCoeffLit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.782721436582506] Failed to read output from testmodel.py, exit status != 0: 8.714989460073411 8.721490366 8.68697609 Calling exit ...