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.001044/0.001044, allocations: 92.42 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001635/0.001635, allocations: 169.9 kB / 23.21 MB, free: 1.328 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 0.9742/0.9742, allocations: 177.1 MB / 203.5 MB, free: 5.785 MB / 186.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.7557/0.7557, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.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.302e-06/1.302e-06, allocations: 0 / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.519e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin): time 0.0051/0.005125, allocations: 1.83 MB / 0.6991 GB, free: 8.496 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.005786, allocations: 0.5499 MB / 0.6997 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.005844, allocations: 4 kB / 0.6997 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.981e-05/0.005934, allocations: 15.8 kB / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.006247, allocations: 59.55 kB / 0.6998 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.006364, allocations: 74.52 kB / 0.6998 GB, free: 7.793 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.006511, allocations: 171.2 kB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.006551, allocations: 1.312 kB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.006657, allocations: 91.78 kB / 0.7001 GB, free: 7.535 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.006849, allocations: 75.78 kB / 0.7002 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.006869, allocations: 8 kB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.006884, allocations: 8 kB / 0.7002 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.006933, allocations: 35.89 kB / 0.7002 GB, free: 7.41 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.00698, allocations: 51.83 kB / 0.7003 GB, free: 7.359 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.00709, allocations: 91.69 kB / 0.7003 GB, free: 7.27 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.007093, allocations: 4 kB / 0.7003 GB, free: 7.266 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.11e-07/0.007094, allocations: 0 / 0.7003 GB, free: 7.266 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.007098, allocations: 0 / 0.7003 GB, free: 7.266 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.0004995/0.007597, allocations: 395.4 kB / 0.7007 GB, free: 6.844 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.007631, allocations: 8.031 kB / 0.7007 GB, free: 6.836 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.007673, allocations: 16.84 kB / 0.7007 GB, free: 6.82 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.007797, allocations: 154.1 kB / 0.7009 GB, free: 6.645 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.007809, allocations: 4.375 kB / 0.7009 GB, free: 6.641 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.00783, allocations: 8.375 kB / 0.7009 GB, free: 6.633 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.00798, allocations: 94.19 kB / 0.701 GB, free: 6.535 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.007987, allocations: 7.938 kB / 0.701 GB, free: 6.527 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.007999, allocations: 4 kB / 0.701 GB, free: 6.523 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.008003, allocations: 0 / 0.701 GB, free: 6.523 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.008143, allocations: 87.84 kB / 0.7011 GB, free: 6.438 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.008444, allocations: 276.4 kB / 0.7014 GB, free: 6.137 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.008655, allocations: 138.4 kB / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.008734, allocations: 56.97 kB / 0.7015 GB, free: 5.934 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.008747, allocations: 0 / 0.7015 GB, free: 5.934 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.008899, allocations: 127.2 kB / 0.7017 GB, free: 5.797 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.0089, allocations: 0 / 0.7017 GB, free: 5.797 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000311/0.009211, allocations: 197.6 kB / 0.7019 GB, free: 5.598 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.009233, allocations: 51.41 kB / 0.7019 GB, free: 5.535 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.009315, allocations: 157 kB / 0.702 GB, free: 5.375 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.009329, allocations: 33.7 kB / 0.7021 GB, free: 5.336 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.009369, allocations: 100.1 kB / 0.7022 GB, free: 5.234 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.00939, allocations: 43.64 kB / 0.7022 GB, free: 5.191 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.00943, allocations: 45.7 kB / 0.7023 GB, free: 5.141 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.009461, allocations: 322.8 kB / 0.7026 GB, free: 4.816 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.009563, allocations: 85.59 kB / 0.7027 GB, free: 4.727 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.009675, allocations: 203.8 kB / 0.7028 GB, free: 4.492 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.009825, allocations: 139.4 kB / 0.703 GB, free: 4.348 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009827, allocations: 3.938 kB / 0.703 GB, free: 4.344 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002177/0.01005, allocations: 242.9 kB / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.01007, allocations: 37.7 kB / 0.7032 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01007, allocations: 0 / 0.7032 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.01008, allocations: 0 / 0.7032 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.01018, allocations: 31.91 kB / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.01018, allocations: 0 / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.01026, allocations: 23.92 kB / 0.7033 GB, free: 3.992 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01027, allocations: 4 kB / 0.7033 GB, free: 3.988 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 5.253e-05/0.01032, allocations: 130.4 kB / 0.7034 GB, free: 3.852 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.01033, allocations: 15.91 kB / 0.7034 GB, free: 3.836 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.01055, allocations: 177.9 kB / 0.7036 GB, free: 3.664 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01055, allocations: 0 / 0.7036 GB, free: 3.664 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01056, allocations: 0 / 0.7036 GB, free: 3.664 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.01056, allocations: 0 / 0.7036 GB, free: 3.664 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.005e-05/0.01064, allocations: 149.2 kB / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01064, allocations: 3.938 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.01072, allocations: 27.97 kB / 0.7038 GB, free: 3.457 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01073, allocations: 4 kB / 0.7038 GB, free: 3.453 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01074, allocations: 11.94 kB / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01074, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01074, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.01102, allocations: 244.9 kB / 0.704 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.01104, allocations: 19.86 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01106, allocations: 8 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.01111, allocations: 8.047 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.01116, allocations: 27.91 kB / 0.7041 GB, free: 3.121 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01117, allocations: 0 / 0.7041 GB, free: 3.121 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.492e-05/0.01121, allocations: 123.1 kB / 0.7042 GB, free: 3 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01121, allocations: 0 / 0.7042 GB, free: 3 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001293/0.01134, allocations: 32 kB / 0.7042 GB, free: 2.969 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 7.733e-05/0.01142, allocations: 103.2 kB / 0.7043 GB, free: 2.855 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.01166, allocations: 213 kB / 0.7045 GB, free: 2.629 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01166, allocations: 4 kB / 0.7046 GB, free: 2.625 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.01174, allocations: 59.89 kB / 0.7046 GB, free: 2.566 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.01193, allocations: 47.89 kB / 0.7047 GB, free: 2.52 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.01237, allocations: 335.2 kB / 0.705 GB, free: 2.16 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.01241, allocations: 89.81 kB / 0.7051 GB, free: 2.055 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.01246, allocations: 24.5 kB / 0.7051 GB, free: 2.027 MB / 410.8 MB Notification: Performance of SimCode: time 9.32e-07/0.01246, allocations: 0 / 0.7051 GB, free: 2.027 MB / 410.8 MB Notification: Performance of Templates: time 0.002288/0.01475, allocations: 2.053 MB / 0.7071 GB, free: 15.98 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.30949301738292]