Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas.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.01253/0.01253, allocations: 1.769 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.9169/0.9169, allocations: 130.6 MB / 151.8 MB, free: 10.2 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.001285/0.001285, allocations: 108.7 kB / 183.1 MB, free: 3.289 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.001548/0.001548, allocations: 214.2 kB / 214.4 MB, free: 6.969 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.616/1.616, allocations: 230.5 MB / 476.2 MB, free: 5.793 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.1179/0.1179, allocations: 25.54 MB / 0.5724 GB, free: 10.43 MB / 430.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",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.003699/0.003699, allocations: 131.8 kB / 0.7624 GB, free: 7.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4773, allocations: 89.05 MB / 0.8494 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004915/0.4822, allocations: 2.856 MB / 0.8521 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.5035, allocations: 11.58 MB / 0.8634 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.504, allocations: 7.938 kB / 0.8635 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.5053, allocations: 234.8 kB / 0.8637 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008828/0.5061, allocations: 266.7 kB / 0.8639 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00812/0.5143, allocations: 2.299 MB / 0.8662 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.5162, allocations: 0.9887 MB / 0.8671 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.5164, allocations: 29.06 kB / 0.8672 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.5171, allocations: 355 kB / 0.8675 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.5191, allocations: 1.271 MB / 0.8688 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0007411/0.5198, allocations: 276 kB / 0.869 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009799/0.5296, allocations: 3.856 MB / 0.8728 GB, free: 11.68 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.5314, allocations: 0.8653 MB / 0.8736 GB, free: 10.82 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.533, allocations: 0.9261 MB / 0.8745 GB, free: 9.887 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.5431, allocations: 5.044 MB / 0.8795 GB, free: 4.832 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.5431, allocations: 0 / 0.8795 GB, free: 4.832 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5431, allocations: 0 / 0.8795 GB, free: 4.832 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.197e-05/0.5432, allocations: 3.938 kB / 0.8795 GB, free: 4.828 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.008367/0.5515, allocations: 3.31 MB / 0.8827 GB, free: 1.453 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5516, allocations: 8.625 kB / 0.8827 GB, free: 1.445 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.5519, allocations: 144.2 kB / 0.8828 GB, free: 1.297 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.5524, allocations: 120.1 kB / 0.883 GB, free: 1.18 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004134/0.5565, allocations: 2.242 MB / 0.8851 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.5566, allocations: 41.69 kB / 0.8852 GB, free: 14.87 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.5568, allocations: 56.36 kB / 0.8852 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009617/0.5664, allocations: 4.272 MB / 0.8894 GB, free: 10.49 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.5664, allocations: 7.922 kB / 0.8894 GB, free: 10.48 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.5666, allocations: 27.98 kB / 0.8894 GB, free: 10.45 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.5667, allocations: 137.9 kB / 0.8896 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.5857, allocations: 12.62 MB / 0.9019 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0196/0.6053, allocations: 8.646 MB / 0.9103 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005799/0.6111, allocations: 1.255 MB / 0.9116 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.6118, allocations: 392.6 kB / 0.9119 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.6122, allocations: 161 kB / 0.9121 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.6123, allocations: 43.88 kB / 0.9121 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 4.078e-06/0.6123, allocations: 3.938 kB / 0.9121 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01152/0.6238, allocations: 2.391 MB / 0.9145 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.6239, allocations: 68.72 kB / 0.9145 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.6266, allocations: 1.647 MB / 0.9161 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.6268, allocations: 45.7 kB / 0.9162 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.6272, allocations: 0.5627 MB / 0.9167 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005324/0.6278, allocations: 0.5036 MB / 0.9172 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008224/0.6286, allocations: 455.3 kB / 0.9177 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.6288, allocations: 357.9 kB / 0.918 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.6303, allocations: 0.8119 MB / 0.9188 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.6323, allocations: 1.465 MB / 0.9202 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.6356, allocations: 2.112 MB / 0.9223 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-05/0.6356, allocations: 15.94 kB / 0.9223 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005052/0.6407, allocations: 2.543 MB / 0.9248 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.6407, allocations: 20.06 kB / 0.9248 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.6408, allocations: 23.98 kB / 0.9248 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.41e-05/0.6408, allocations: 39.94 kB / 0.9249 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.6428, allocations: 0.5071 MB / 0.9254 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-05/0.6428, allocations: 43.86 kB / 0.9254 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.6451, allocations: 230.5 kB / 0.9256 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/0.6455, allocations: 248 kB / 0.9259 GB, free: 4.324 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (239): * Single equations (assignments): 239 * 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.0007919/0.6463, allocations: 448.8 kB / 0.9263 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.6467, allocations: 131.2 kB / 0.9264 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/0.6516, allocations: 2.172 MB / 0.9285 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.6516, allocations: 19.94 kB / 0.9286 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6516, allocations: 4 kB / 0.9286 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6516, allocations: 7.969 kB / 0.9286 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.6534, allocations: 1.061 MB / 0.9296 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6534, allocations: 0 / 0.9296 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.6542, allocations: 323.7 kB / 0.9299 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.6543, allocations: 7.984 kB / 0.9299 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6544, allocations: 79.97 kB / 0.93 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.6544, allocations: 4 kB / 0.93 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6544, allocations: 0 / 0.93 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.6569, allocations: 1.311 MB / 0.9313 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/0.6577, allocations: 471.7 kB / 0.9317 GB, free: 14.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.6579, allocations: 20 kB / 0.9318 GB, free: 14.18 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007658/0.6587, allocations: 31.98 kB / 0.9318 GB, free: 14.15 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.6589, allocations: 137.2 kB / 0.9319 GB, free: 14.02 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/0.6592, allocations: 196 kB / 0.9321 GB, free: 13.82 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.001755/0.6609, allocations: 1.157 MB / 0.9332 GB, free: 12.66 MB / 0.6232 GB Notification: Performance of sort global known variables: time 7e-08/0.6609, allocations: 0 / 0.9332 GB, free: 12.66 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.001958/0.6629, allocations: 0.5694 MB / 0.9338 GB, free: 12.09 MB / 0.6232 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 (142): * Single equations (assignments): 142 * 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.005796/0.6687, allocations: 2.631 MB / 0.9364 GB, free: 9.625 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003298/0.672, allocations: 1.584 MB / 0.9379 GB, free: 8.043 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.672, allocations: 4 kB / 0.9379 GB, free: 8.039 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009675/0.673, allocations: 0.5343 MB / 0.9384 GB, free: 7.508 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.6745, allocations: 256.6 kB / 0.9387 GB, free: 7.258 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.6959, allocations: 13.37 MB / 0.9517 GB, free: 9.133 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.6968, allocations: 1.149 MB / 0.9529 GB, free: 7.949 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003546/0.7004, allocations: 1.3 MB / 0.9541 GB, free: 6.645 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/0.7017, allocations: 0.6083 MB / 0.9547 GB, free: 6.035 MB / 0.6388 GB Notification: Performance of SimCode: time 9.32e-07/0.7017, allocations: 0 / 0.9547 GB, free: 6.035 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/0.7763, allocations: 35.23 MB / 0.9891 GB, free: 2.914 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.39, allocations: 11.3 kB / 0.9891 GB, free: 2.906 MB / 0.67 GB " [Timeout remaining time 648] (rm -f TILMedia_TILMedia.Testers.TestGas.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas.sim & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestGas_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.fmu > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.971847818000242] Failed to read output from testmodel.py, exit status != 0: 11.722850341000594 11.741816022 11.194930822 Calling exit ...