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.01105/0.01105, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.9733/0.9733, allocations: 130.8 MB / 154.9 MB, free: 9.148 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.001213/0.001213, allocations: 110.5 kB / 186.6 MB, free: 2.852 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.001629/0.001629, allocations: 211 kB / 218.5 MB, free: 5.211 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.63/1.63, allocations: 230.6 MB / 480.8 MB, free: 4.82 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.1338/0.1338, allocations: 25.54 MB / 0.5774 GB, free: 8.914 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: translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [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.004029/0.004029, allocations: 143.8 kB / 0.7701 GB, free: 4.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/0.5983, allocations: 89.26 MB / 0.8573 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004862/0.6031, allocations: 2.865 MB / 0.8601 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02087/0.624, allocations: 11.7 MB / 0.8715 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005864/0.6246, allocations: 7.938 kB / 0.8715 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.6261, allocations: 234.8 kB / 0.8717 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.6272, allocations: 266.7 kB / 0.872 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008546/0.6358, allocations: 2.459 MB / 0.8744 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.6373, allocations: 1.004 MB / 0.8754 GB, free: 15.6 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.6374, allocations: 29.27 kB / 0.8754 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.6378, allocations: 355 kB / 0.8757 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.6394, allocations: 1.275 MB / 0.877 GB, free: 13.94 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004873/0.6398, allocations: 276 kB / 0.8772 GB, free: 13.67 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009008/0.6489, allocations: 4.09 MB / 0.8812 GB, free: 9.57 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.6501, allocations: 0.8614 MB / 0.8821 GB, free: 8.707 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.6514, allocations: 0.9261 MB / 0.883 GB, free: 7.777 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.6637, allocations: 5.041 MB / 0.8879 GB, free: 2.727 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6637, allocations: 0 / 0.8879 GB, free: 2.727 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6637, allocations: 0 / 0.8879 GB, free: 2.727 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.702e-05/0.6638, allocations: 7.938 kB / 0.8879 GB, free: 2.719 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.01322/0.677, allocations: 3.243 MB / 0.8911 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.6771, allocations: 12.03 kB / 0.8911 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.6783, allocations: 120.1 kB / 0.8912 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006772/0.6851, allocations: 2.181 MB / 0.8933 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.148e-05/0.6851, allocations: 49.61 kB / 0.8934 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005545/0.6857, allocations: 52.38 kB / 0.8934 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.6991, allocations: 4.272 MB / 0.8976 GB, free: 8.672 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.6991, allocations: 4 kB / 0.8976 GB, free: 8.668 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006076/0.6997, allocations: 20 kB / 0.8976 GB, free: 8.648 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.7, allocations: 133.9 kB / 0.8977 GB, free: 8.52 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03087/0.7308, allocations: 12.62 MB / 0.9101 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02425/0.7551, allocations: 8.624 MB / 0.9185 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005821/0.7609, allocations: 1.255 MB / 0.9197 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.7616, allocations: 392.6 kB / 0.9201 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.762, allocations: 164.9 kB / 0.9202 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.762, allocations: 43.88 kB / 0.9203 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 3.467e-06/0.762, allocations: 4 kB / 0.9203 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01176/0.7738, allocations: 2.391 MB / 0.9226 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.7739, allocations: 64.72 kB / 0.9227 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002889/0.7768, allocations: 1.647 MB / 0.9243 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.7769, allocations: 45.7 kB / 0.9243 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/0.7774, allocations: 0.5627 MB / 0.9249 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005304/0.7779, allocations: 0.4997 MB / 0.9254 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/0.7787, allocations: 455.3 kB / 0.9258 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.7789, allocations: 365.9 kB / 0.9262 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.7803, allocations: 0.8041 MB / 0.9269 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.7825, allocations: 1.473 MB / 0.9284 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.7858, allocations: 2.12 MB / 0.9305 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.7858, allocations: 8 kB / 0.9305 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004946/0.7907, allocations: 2.554 MB / 0.933 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.7908, allocations: 14.19 kB / 0.933 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.7908, allocations: 24 kB / 0.933 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.667e-05/0.7909, allocations: 35.98 kB / 0.933 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.7928, allocations: 0.5112 MB / 0.9335 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.578e-05/0.7928, allocations: 47.8 kB / 0.9336 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.7949, allocations: 226.5 kB / 0.9338 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.7953, allocations: 248 kB / 0.934 GB, free: 2.539 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.000831/0.7961, allocations: 448.8 kB / 0.9344 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.7966, allocations: 135.2 kB / 0.9346 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/0.8015, allocations: 2.164 MB / 0.9367 GB, free: 15.78 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.8015, allocations: 16 kB / 0.9367 GB, free: 15.76 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8015, allocations: 3.938 kB / 0.9367 GB, free: 15.76 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.8015, allocations: 7.969 kB / 0.9367 GB, free: 15.75 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.8034, allocations: 1.036 MB / 0.9377 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8034, allocations: 0 / 0.9377 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/0.8043, allocations: 327.6 kB / 0.938 GB, free: 14.36 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.8043, allocations: 8 kB / 0.9381 GB, free: 14.35 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.8044, allocations: 75.95 kB / 0.9381 GB, free: 14.27 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.8044, allocations: 4 kB / 0.9381 GB, free: 14.27 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8044, allocations: 4 kB / 0.9381 GB, free: 14.27 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.807, allocations: 1.311 MB / 0.9394 GB, free: 12.93 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.8081, allocations: 386.6 kB / 0.9398 GB, free: 12.55 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.8084, allocations: 24 kB / 0.9398 GB, free: 12.53 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.8091, allocations: 39.97 kB / 0.9398 GB, free: 12.49 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.8093, allocations: 133.1 kB / 0.94 GB, free: 12.36 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/0.8096, allocations: 200 kB / 0.9402 GB, free: 12.16 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.001894/0.8115, allocations: 1.161 MB / 0.9413 GB, free: 10.99 MB / 0.6232 GB Notification: Performance of sort global known variables: time 8e-08/0.8115, allocations: 0 / 0.9413 GB, free: 10.99 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.00218/0.8137, allocations: 0.5616 MB / 0.9418 GB, free: 10.43 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.002591/0.8162, allocations: 0.8808 MB / 0.9427 GB, free: 9.73 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003269/0.8195, allocations: 1.6 MB / 0.9443 GB, free: 8.137 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8195, allocations: 0 / 0.9443 GB, free: 8.137 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.000946/0.8205, allocations: 0.5383 MB / 0.9448 GB, free: 7.598 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.8219, allocations: 260.1 kB / 0.945 GB, free: 7.344 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.8258, allocations: 2.205 MB / 0.9472 GB, free: 5.109 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.8269, allocations: 1.138 MB / 0.9483 GB, free: 3.945 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.004427/0.8314, allocations: 1.301 MB / 0.9496 GB, free: 2.641 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.8325, allocations: 327 kB / 0.9499 GB, free: 2.32 MB / 0.6232 GB Notification: Performance of SimCode: time 2.084e-06/0.8325, allocations: 0 / 0.9499 GB, free: 2.32 MB / 0.6232 GB Notification: Performance of Templates: time 0.04376/0.8762, allocations: 24.28 MB / 0.9736 GB, free: 10.12 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f TILMedia_TILMedia.Testers.TestGas.makefile [Timeout 660] (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 & ./TILMedia_TILMedia.Testers.TestGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.361702895956114] Failed to read output from testmodel.py, exit status != 0: 0.8864481560885906 0.902804699 0.23544464 Calling exit ...