Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.conf.json 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.001179/0.001179, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.00288, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.001152/0.001152, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002684, allocations: 475.7 kB / 11.7 MB, free: 2.465 MB / 13.93 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.9936/0.9936, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.099, allocations: 53.67 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.857/0.857, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03938/0.8964, allocations: 21.04 MB / 0.5432 GB, free: 31.72 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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) Running command: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.419e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid): time 0.002703/0.002727, allocations: 1.965 MB / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.009651, allocations: 0.5718 MB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.009711, allocations: 3.938 kB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.09e-05/0.009772, allocations: 11.92 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.01004, allocations: 71.42 kB / 0.5472 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.01021, allocations: 63.83 kB / 0.5473 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.01042, allocations: 168 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.01047, allocations: 5.969 kB / 0.5474 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.01065, allocations: 115.7 kB / 0.5476 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.01087, allocations: 75.77 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.0109, allocations: 8 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.01092, allocations: 8 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.01098, allocations: 23.94 kB / 0.5477 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.01104, allocations: 35.88 kB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.0112, allocations: 75.73 kB / 0.5478 GB, free: 27.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.01122, allocations: 0 / 0.5478 GB, free: 27.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01122, allocations: 0 / 0.5478 GB, free: 27.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.01123, allocations: 0 / 0.5478 GB, free: 27.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002668/0.0139, allocations: 388.1 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.01393, allocations: 11.89 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.01397, allocations: 16.92 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.01412, allocations: 164.5 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.01414, allocations: 4.375 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.01417, allocations: 12.38 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.01431, allocations: 81.02 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.01432, allocations: 3.938 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.01433, allocations: 0 / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.01433, allocations: 4 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.01438, allocations: 23.92 kB / 0.5485 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.01463, allocations: 197.9 kB / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.01474, allocations: 114.9 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.01478, allocations: 28.84 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.0148, allocations: 4.219 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.01491, allocations: 86.12 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.01491, allocations: 0 / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001507/0.01506, allocations: 89.66 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.01508, allocations: 51.41 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.01516, allocations: 158.6 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.01517, allocations: 25.7 kB / 0.5492 GB, free: 25.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.0152, allocations: 100.1 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.01523, allocations: 43.61 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.01528, allocations: 41.64 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.01531, allocations: 326.8 kB / 0.5497 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.01535, allocations: 48.52 kB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.01541, allocations: 157.2 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.01548, allocations: 84.16 kB / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01548, allocations: 0 / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001083/0.01559, allocations: 154.6 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.01561, allocations: 29.7 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01562, allocations: 3.984 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.01563, allocations: 4 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.01575, allocations: 35.92 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.01575, allocations: 0 / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.01583, allocations: 11.98 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.01584, allocations: 8 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 4.731e-05/0.01589, allocations: 120.7 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.0159, allocations: 15.92 kB / 0.5503 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.01601, allocations: 98.36 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01602, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01602, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01602, allocations: 7.656 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.926e-05/0.0161, allocations: 101.8 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0161, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.01619, allocations: 23.98 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.0162, allocations: 7.953 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01621, allocations: 7.938 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01622, allocations: 7.984 kB / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01622, allocations: 0 / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01622, allocations: 3.938 kB / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.01636, allocations: 139.2 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.01638, allocations: 7.938 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.01644, allocations: 11.98 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.01648, allocations: 11.97 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.01649, allocations: 8 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.148e-05/0.01652, allocations: 39.92 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01652, allocations: 4.031 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004164/0.02069, allocations: 32 kB / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 7.452e-05/0.02076, allocations: 84.36 kB / 0.5509 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.0209, allocations: 154 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.02091, allocations: 4 kB / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.831e-05/0.02096, allocations: 40.77 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.02114, allocations: 61.98 kB / 0.5511 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.02741, allocations: 350.2 kB / 0.5515 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.405e-05/0.02744, allocations: 71.78 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.02751, allocations: 17.48 kB / 0.5515 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.02763, allocations: 87.34 kB / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02763, allocations: 0 / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of Templates: time 0.004609/0.03224, allocations: 2.73 MB / 0.5543 GB, free: 20.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6385583309456706]