Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.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.0009662/0.0009662, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.0008944/0.0008944, 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.9155/0.9155, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7043/0.7043, 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.Cotinine.Cotinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.676e-05, allocations: 10.22 kB / 0.6974 GB, free: 10.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine): time 0.002512/0.002539, allocations: 1.822 MB / 0.6991 GB, free: 8.457 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.003434, allocations: 0.5538 MB / 0.6997 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.003499, allocations: 3.938 kB / 0.6997 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.0036, allocations: 11.86 kB / 0.6997 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.003971, allocations: 59.55 kB / 0.6998 GB, free: 7.824 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.004142, allocations: 71.77 kB / 0.6998 GB, free: 7.754 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.004341, allocations: 167.3 kB / 0.7 GB, free: 7.59 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.004392, allocations: 13.3 kB / 0.7 GB, free: 7.578 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.004524, allocations: 87.78 kB / 0.7001 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.004756, allocations: 71.78 kB / 0.7002 GB, free: 7.422 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.004784, allocations: 8 kB / 0.7002 GB, free: 7.414 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.004805, allocations: 8 kB / 0.7002 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.004869, allocations: 39.83 kB / 0.7002 GB, free: 7.367 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.004929, allocations: 43.89 kB / 0.7002 GB, free: 7.324 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.00507, allocations: 99.69 kB / 0.7003 GB, free: 7.227 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005073, allocations: 0 / 0.7003 GB, free: 7.227 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005074, allocations: 0 / 0.7003 GB, free: 7.227 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005079, allocations: 0 / 0.7003 GB, free: 7.227 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.0006158/0.005695, allocations: 391.5 kB / 0.7007 GB, free: 6.809 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.005727, allocations: 8.031 kB / 0.7007 GB, free: 6.801 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.005767, allocations: 16.84 kB / 0.7007 GB, free: 6.785 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005893, allocations: 158.1 kB / 0.7009 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.005906, allocations: 4.375 kB / 0.7009 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.005929, allocations: 16.36 kB / 0.7009 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.006078, allocations: 90.19 kB / 0.701 GB, free: 6.492 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.006086, allocations: 3.938 kB / 0.701 GB, free: 6.488 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006097, allocations: 4 kB / 0.701 GB, free: 6.484 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.006101, allocations: 3.984 kB / 0.701 GB, free: 6.48 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.006239, allocations: 90.59 kB / 0.7011 GB, free: 6.395 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.006546, allocations: 284.3 kB / 0.7014 GB, free: 6.086 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.006749, allocations: 138.3 kB / 0.7015 GB, free: 5.941 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.006825, allocations: 52.81 kB / 0.7015 GB, free: 5.887 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.006837, allocations: 0 / 0.7015 GB, free: 5.887 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.007008, allocations: 115.3 kB / 0.7017 GB, free: 5.762 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.007009, allocations: 0 / 0.7017 GB, free: 5.762 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003155/0.007325, allocations: 201.6 kB / 0.7019 GB, free: 5.559 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.007354, allocations: 55.41 kB / 0.7019 GB, free: 5.492 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.007434, allocations: 157 kB / 0.7021 GB, free: 5.332 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.007447, allocations: 29.7 kB / 0.7021 GB, free: 5.297 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.007488, allocations: 100.1 kB / 0.7022 GB, free: 5.195 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.00751, allocations: 47.64 kB / 0.7022 GB, free: 5.148 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.007551, allocations: 37.7 kB / 0.7023 GB, free: 5.105 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.007583, allocations: 322.8 kB / 0.7026 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.27e-05/0.007676, allocations: 85.66 kB / 0.7026 GB, free: 4.691 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.007785, allocations: 203.8 kB / 0.7028 GB, free: 4.457 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.007937, allocations: 143.4 kB / 0.703 GB, free: 4.309 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007939, allocations: 3.938 kB / 0.703 GB, free: 4.305 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000215/0.008154, allocations: 242.8 kB / 0.7032 GB, free: 4.051 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.008177, allocations: 29.7 kB / 0.7032 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.008181, allocations: 4 kB / 0.7032 GB, free: 4.012 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.008192, allocations: 4 kB / 0.7033 GB, free: 4.008 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.008287, allocations: 35.91 kB / 0.7033 GB, free: 3.973 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008292, allocations: 3.984 kB / 0.7033 GB, free: 3.969 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.008366, allocations: 19.92 kB / 0.7033 GB, free: 3.949 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.008375, allocations: 4 kB / 0.7033 GB, free: 3.945 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.681e-05/0.008432, allocations: 122.4 kB / 0.7034 GB, free: 3.816 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.008445, allocations: 11.91 kB / 0.7034 GB, free: 3.805 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.008664, allocations: 178.3 kB / 0.7036 GB, free: 3.629 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008666, allocations: 0 / 0.7036 GB, free: 3.629 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.00867, allocations: 4 kB / 0.7036 GB, free: 3.625 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.008673, allocations: 3.984 kB / 0.7036 GB, free: 3.621 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.847e-05/0.008752, allocations: 149.2 kB / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008753, allocations: 4.156 kB / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.008833, allocations: 19.98 kB / 0.7038 GB, free: 3.422 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008835, allocations: 7.938 kB / 0.7038 GB, free: 3.414 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008845, allocations: 7.984 kB / 0.7038 GB, free: 3.406 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008846, allocations: 4 kB / 0.7038 GB, free: 3.402 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008847, allocations: 0 / 0.7038 GB, free: 3.402 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.009131, allocations: 252.5 kB / 0.704 GB, free: 3.141 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.009147, allocations: 15.88 kB / 0.7041 GB, free: 3.125 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.009166, allocations: 11.98 kB / 0.7041 GB, free: 3.113 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.009218, allocations: 7.984 kB / 0.7041 GB, free: 3.105 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.009267, allocations: 15.98 kB / 0.7041 GB, free: 3.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.009275, allocations: 7.984 kB / 0.7041 GB, free: 3.082 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.009318, allocations: 127.2 kB / 0.7042 GB, free: 2.957 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009318, allocations: 0 / 0.7042 GB, free: 2.957 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001355/0.009454, allocations: 28 kB / 0.7042 GB, free: 2.93 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 8.15e-05/0.009535, allocations: 99.25 kB / 0.7043 GB, free: 2.82 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.009765, allocations: 216.9 kB / 0.7045 GB, free: 2.59 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.009767, allocations: 0 / 0.7045 GB, free: 2.59 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.00985, allocations: 63.89 kB / 0.7046 GB, free: 2.527 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01004, allocations: 47.84 kB / 0.7047 GB, free: 2.48 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.01049, allocations: 335.2 kB / 0.705 GB, free: 2.121 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.01054, allocations: 97.8 kB / 0.7051 GB, free: 2.008 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.01058, allocations: 16.5 kB / 0.7051 GB, free: 1.988 MB / 410.8 MB Notification: Performance of SimCode: time 4.01e-07/0.01058, allocations: 0 / 0.7051 GB, free: 1.988 MB / 410.8 MB Notification: Performance of Templates: time 0.00219/0.01277, allocations: 2.049 MB / 0.7071 GB, free: 15.95 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2409243946895]