Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.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.001904/0.001904, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002191/0.002191, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.564/1.564, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 1.419/1.419, allocations: 292.9 MB / 0.5392 GB, free: 49.79 MB / 410.7 MB " [Timeout remaining time 178] 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.Tetrodotoxin.Tetrodotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.275e-05, allocations: 3.406 kB / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin): time 0.002668/0.002701, allocations: 1.832 MB / 0.7017 GB, free: 6.754 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009192/0.00362, allocations: 0.5499 MB / 0.7022 GB, free: 6.199 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.003678, allocations: 0 / 0.7022 GB, free: 6.199 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003785, allocations: 19.84 kB / 0.7023 GB, free: 6.18 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.004143, allocations: 67.53 kB / 0.7023 GB, free: 6.113 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.004302, allocations: 62.97 kB / 0.7024 GB, free: 6.055 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.004492, allocations: 171.2 kB / 0.7025 GB, free: 5.887 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.004538, allocations: 9.312 kB / 0.7025 GB, free: 5.879 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.004665, allocations: 91.78 kB / 0.7026 GB, free: 5.789 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.004892, allocations: 75.77 kB / 0.7027 GB, free: 5.715 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.004923, allocations: 8 kB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.504e-05/0.004958, allocations: 8 kB / 0.7027 GB, free: 5.699 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.005029, allocations: 35.83 kB / 0.7028 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.005091, allocations: 43.84 kB / 0.7028 GB, free: 5.621 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.005234, allocations: 99.67 kB / 0.7029 GB, free: 5.523 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005236, allocations: 4 kB / 0.7029 GB, free: 5.52 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005237, allocations: 0 / 0.7029 GB, free: 5.52 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005241, allocations: 4 kB / 0.7029 GB, free: 5.516 MB / 410.8 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.0007316/0.005972, allocations: 395.5 kB / 0.7033 GB, free: 5.094 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.006006, allocations: 8.031 kB / 0.7033 GB, free: 5.086 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.006061, allocations: 16.84 kB / 0.7033 GB, free: 5.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.006228, allocations: 146.1 kB / 0.7034 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.006246, allocations: 8.375 kB / 0.7035 GB, free: 4.895 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.006278, allocations: 4.375 kB / 0.7035 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.006523, allocations: 106.2 kB / 0.7036 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.006534, allocations: 3.938 kB / 0.7036 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.006548, allocations: 0 / 0.7036 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.006552, allocations: 0 / 0.7036 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.006824, allocations: 83.92 kB / 0.7036 GB, free: 4.695 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.007258, allocations: 284.3 kB / 0.7039 GB, free: 4.387 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.007618, allocations: 146.3 kB / 0.7041 GB, free: 4.234 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.007764, allocations: 52.83 kB / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.00778, allocations: 0 / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.008039, allocations: 111.3 kB / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.00804, allocations: 0 / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000532/0.008572, allocations: 197.6 kB / 0.7044 GB, free: 3.859 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.008602, allocations: 63.39 kB / 0.7045 GB, free: 3.785 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.008714, allocations: 155.6 kB / 0.7046 GB, free: 3.625 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.008735, allocations: 33.7 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.008778, allocations: 96.09 kB / 0.7047 GB, free: 3.488 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.008815, allocations: 47.64 kB / 0.7048 GB, free: 3.441 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.008877, allocations: 33.7 kB / 0.7048 GB, free: 3.402 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.008922, allocations: 326.8 kB / 0.7051 GB, free: 3.074 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.009096, allocations: 85.64 kB / 0.7052 GB, free: 2.984 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.009296, allocations: 198.1 kB / 0.7054 GB, free: 2.754 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.009584, allocations: 145.4 kB / 0.7055 GB, free: 2.605 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/0.009592, allocations: 7.938 kB / 0.7055 GB, free: 2.598 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004103/0.01, allocations: 232.8 kB / 0.7058 GB, free: 2.352 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.01003, allocations: 37.69 kB / 0.7058 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.01003, allocations: 0 / 0.7058 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01005, allocations: 0 / 0.7058 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.01021, allocations: 31.92 kB / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01022, allocations: 4 kB / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.01038, allocations: 23.86 kB / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.0104, allocations: 8 kB / 0.7059 GB, free: 2.242 MB / 410.8 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 6.824e-05/0.01047, allocations: 121.8 kB / 0.706 GB, free: 2.113 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.01049, allocations: 15.91 kB / 0.706 GB, free: 2.098 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.01088, allocations: 174.2 kB / 0.7062 GB, free: 1.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01089, allocations: 4.031 kB / 0.7062 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01089, allocations: 0 / 0.7062 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01089, allocations: 4.219 kB / 0.7062 GB, free: 1.922 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.011, allocations: 149.2 kB / 0.7063 GB, free: 1.746 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01101, allocations: 11.86 kB / 0.7063 GB, free: 1.734 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.01116, allocations: 23.98 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01117, allocations: 0 / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01118, allocations: 8 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01118, allocations: 0 / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01118, allocations: 0 / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.0117, allocations: 252.9 kB / 0.7066 GB, free: 1.438 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.01172, allocations: 19.81 kB / 0.7066 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.01175, allocations: 8 kB / 0.7066 GB, free: 1.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.01188, allocations: 7.984 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.01195, allocations: 19.97 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01196, allocations: 4 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.01203, allocations: 125.3 kB / 0.7068 GB, free: 1.258 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01203, allocations: 0 / 0.7068 GB, free: 1.258 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000206/0.01224, allocations: 32 kB / 0.7068 GB, free: 1.227 MB / 410.8 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 9.898e-05/0.01233, allocations: 105.4 kB / 0.7069 GB, free: 1.113 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.01274, allocations: 213 kB / 0.7071 GB, free: 0.8867 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01274, allocations: 0 / 0.7071 GB, free: 0.8867 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.01291, allocations: 63.89 kB / 0.7072 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01319, allocations: 54.8 kB / 0.7072 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.01378, allocations: 309.4 kB / 0.7075 GB, free: 456 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.01383, allocations: 93.81 kB / 0.7076 GB, free: 344 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.15e-05/0.01391, allocations: 25.47 kB / 0.7076 GB, free: 316 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.01396, allocations: 20.5 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of SimCode: time 3.31e-07/0.01396, allocations: 0 / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of Templates: time 0.006295/0.02026, allocations: 2.479 MB / 0.7101 GB, free: 13.88 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.737028561998159]