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.01027/0.01027, allocations: 1.347 MB / 20.45 MB, free: 1.262 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.9343/0.9343, allocations: 102.5 MB / 126.5 MB, free: 400 kB / 110.2 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.001402/0.001402, allocations: 92.06 kB / 158.2 MB, free: 0.9961 MB / 142.2 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.001574/0.001574, allocations: 162 kB / 190 MB, free: 1.117 MB / 174.2 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.503/1.503, allocations: 177.1 MB / 398.9 MB, free: 11.62 MB / 318.2 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.1135/0.1135, allocations: 18.23 MB / 0.4903 GB, free: 4.262 MB / 414.2 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: translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.6828 GB, free: 0.9961 MB / 494.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.228e-05/4.407e-05, allocations: 7.203 kB / 0.6828 GB, free: 0.9883 MB / 494.2 MB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004801/0.004845, allocations: 2.648 MB / 0.6853 GB, free: 14.32 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.02301, allocations: 10.46 MB / 0.6956 GB, free: 3.824 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005886/0.0236, allocations: 3.938 kB / 0.6956 GB, free: 3.82 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.0249, allocations: 234.7 kB / 0.6958 GB, free: 3.59 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0007391/0.02564, allocations: 274.4 kB / 0.6961 GB, free: 3.32 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.007764/0.03341, allocations: 2.503 MB / 0.6985 GB, free: 0.8047 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.3187/0.3521, allocations: 1.017 MB / 0.6995 GB, free: 19.18 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.3523, allocations: 23.41 kB / 0.6995 GB, free: 19.16 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009479/0.3533, allocations: 469.6 kB / 0.7 GB, free: 19.16 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.3552, allocations: 1.212 MB / 0.7011 GB, free: 19.16 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0006402/0.3558, allocations: 280.3 kB / 0.7014 GB, free: 19.16 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007892/0.3637, allocations: 2.822 MB / 0.7042 GB, free: 19.16 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.3657, allocations: 0.8882 MB / 0.705 GB, free: 19.1 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.367, allocations: 0.7344 MB / 0.7058 GB, free: 19.05 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.3796, allocations: 5.115 MB / 0.7107 GB, free: 18.6 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3796, allocations: 2.75 kB / 0.7107 GB, free: 18.6 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3796, allocations: 0 / 0.7107 GB, free: 18.6 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 5.924e-05/0.3796, allocations: 0 / 0.7107 GB, free: 18.6 MB / 0.4982 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.0121/0.3917, allocations: 3.227 MB / 0.7139 GB, free: 17.21 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.3918, allocations: 9.156 kB / 0.7139 GB, free: 17.21 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.3927, allocations: 120.6 kB / 0.714 GB, free: 17.14 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.3982, allocations: 2.176 MB / 0.7161 GB, free: 16.23 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.3983, allocations: 44.31 kB / 0.7162 GB, free: 16.21 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.3986, allocations: 52.78 kB / 0.7162 GB, free: 16.2 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.4097, allocations: 4.276 MB / 0.7204 GB, free: 14.91 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.4097, allocations: 5.094 kB / 0.7204 GB, free: 14.91 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.4099, allocations: 24.53 kB / 0.7204 GB, free: 14.89 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.4101, allocations: 144.9 kB / 0.7206 GB, free: 14.87 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.4288, allocations: 12.47 MB / 0.7328 GB, free: 11.85 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/0.4467, allocations: 8.072 MB / 0.7406 GB, free: 4.012 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005563/0.4522, allocations: 1.252 MB / 0.7419 GB, free: 2.75 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.4528, allocations: 388.6 kB / 0.7422 GB, free: 2.371 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/0.4532, allocations: 137.2 kB / 0.7424 GB, free: 2.238 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4532, allocations: 47.88 kB / 0.7424 GB, free: 2.184 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=142): time 3.807e-06/0.4532, allocations: 0 / 0.7424 GB, free: 2.184 MB / 0.4982 GB Notification: Performance of matching and sorting (n=142): time 0.01131/0.4645, allocations: 2.392 MB / 0.7447 GB, free: 15.79 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.4646, allocations: 64.72 kB / 0.7448 GB, free: 15.71 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.4686, allocations: 1.682 MB / 0.7465 GB, free: 14.01 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.4688, allocations: 49.7 kB / 0.7465 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005559/0.4693, allocations: 0.5539 MB / 0.747 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008068/0.4701, allocations: 0.504 MB / 0.7475 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.4715, allocations: 447.3 kB / 0.748 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002632/0.4718, allocations: 357.9 kB / 0.7483 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.4734, allocations: 0.804 MB / 0.7491 GB, free: 11.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.4756, allocations: 1.474 MB / 0.7505 GB, free: 9.539 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.479, allocations: 2.116 MB / 0.7526 GB, free: 7.211 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.4791, allocations: 4 kB / 0.7526 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004923/0.484, allocations: 2.558 MB / 0.7551 GB, free: 4.77 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.484, allocations: 12 kB / 0.7551 GB, free: 4.758 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.484, allocations: 24 kB / 0.7551 GB, free: 4.734 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.847e-05/0.4841, allocations: 35.94 kB / 0.7552 GB, free: 4.699 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.486, allocations: 0.5069 MB / 0.7557 GB, free: 4.223 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.991e-05/0.4861, allocations: 50.64 kB / 0.7557 GB, free: 4.184 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.4886, allocations: 234.4 kB / 0.7559 GB, free: 3.953 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/0.4891, allocations: 252 kB / 0.7562 GB, free: 3.707 MB / 0.5138 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.0008748/0.4899, allocations: 436.6 kB / 0.7566 GB, free: 3.301 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/0.4904, allocations: 127.2 kB / 0.7567 GB, free: 3.176 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/0.4953, allocations: 2.18 MB / 0.7588 GB, free: 1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.4954, allocations: 15.94 kB / 0.7589 GB, free: 0.9844 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.4954, allocations: 4 kB / 0.7589 GB, free: 0.9805 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4954, allocations: 3.984 kB / 0.7589 GB, free: 0.9766 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.4971, allocations: 0.7675 MB / 0.7596 GB, free: 212 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4971, allocations: 0 / 0.7596 GB, free: 212 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/0.498, allocations: 329.7 kB / 0.7599 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.498, allocations: 8 kB / 0.7599 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.4981, allocations: 75.95 kB / 0.76 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.4981, allocations: 4 kB / 0.76 GB, free: 15.81 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4981, allocations: 3.938 kB / 0.76 GB, free: 15.81 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.5007, allocations: 1.304 MB / 0.7613 GB, free: 14.49 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000955/0.5016, allocations: 394.6 kB / 0.7617 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.5019, allocations: 20 kB / 0.7617 GB, free: 14.08 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.5027, allocations: 35.55 kB / 0.7617 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.503, allocations: 145 kB / 0.7619 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/0.5033, allocations: 196 kB / 0.762 GB, free: 13.72 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.001951/0.5052, allocations: 1.161 MB / 0.7632 GB, free: 12.55 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.5052, allocations: 4 kB / 0.7632 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.002366/0.5076, allocations: 0.5616 MB / 0.7637 GB, free: 11.98 MB / 0.5295 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.002644/0.5102, allocations: 0.9479 MB / 0.7646 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003193/0.5134, allocations: 1.585 MB / 0.7662 GB, free: 9.785 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5134, allocations: 0 / 0.7662 GB, free: 9.785 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/0.5144, allocations: 0.5431 MB / 0.7667 GB, free: 9.273 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5157, allocations: 247.2 kB / 0.767 GB, free: 9.031 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.5201, allocations: 2.171 MB / 0.7691 GB, free: 6.832 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/0.5208, allocations: 0.5451 MB / 0.7696 GB, free: 6.258 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.003602/0.5244, allocations: 1.297 MB / 0.7709 GB, free: 4.953 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.5255, allocations: 332.1 kB / 0.7712 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of SimCode: time 1.192e-06/0.5255, allocations: 0 / 0.7712 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of Templates: time 0.04252/0.568, allocations: 23.11 MB / 0.7938 GB, free: 13.7 MB / 0.5607 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: 7.721383709460497] Failed to read output from testmodel.py, exit status != 0: 0.5784241408109665 0.594034476 0.2107275 Calling exit ...