Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.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.0006687/0.0006687, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009724/0.001641, allocations: 440 kB / 10.41 MB, free: 284 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.0007142/0.0007142, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001652, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9213/0.9213, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09684/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7356/0.7356, allocations: 291.2 MB / 0.5228 GB, free: 52.53 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.035/0.7706, allocations: 21.05 MB / 0.5433 GB, free: 31.53 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_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5447 GB, free: 30.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.111e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference): time 0.002557/0.002578, allocations: 1.941 MB / 0.5466 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003638, allocations: 0.5754 MB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.003705, allocations: 4 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.72e-05/0.003762, allocations: 19.86 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.004019, allocations: 63.48 kB / 0.5473 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.004175, allocations: 63.77 kB / 0.5473 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004372, allocations: 168 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.004413, allocations: 9.969 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.00458, allocations: 115.8 kB / 0.5476 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.004785, allocations: 75.78 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.004812, allocations: 8 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.786e-05/0.00484, allocations: 8 kB / 0.5477 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.004896, allocations: 19.92 kB / 0.5477 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.004951, allocations: 31.94 kB / 0.5478 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.00511, allocations: 83.61 kB / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.005125, allocations: 0 / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005126, allocations: 0 / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.005137, allocations: 4 kB / 0.5478 GB, free: 26.9 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.0006758/0.005813, allocations: 384.2 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.005849, allocations: 8.031 kB / 0.5482 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.005906, allocations: 12.94 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.006092, allocations: 160.9 kB / 0.5484 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.006114, allocations: 8.359 kB / 0.5484 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.006143, allocations: 16.31 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.006302, allocations: 77.03 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00631, allocations: 3.938 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.006322, allocations: 4 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.006329, allocations: 4 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.006385, allocations: 19.97 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.006683, allocations: 189.9 kB / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.006824, allocations: 122.9 kB / 0.5488 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.006861, allocations: 16.86 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.006877, allocations: 8 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.007011, allocations: 94.44 kB / 0.5489 GB, free: 25.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.007013, allocations: 0 / 0.5489 GB, free: 25.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001793/0.007193, allocations: 89.53 kB / 0.549 GB, free: 25.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.007217, allocations: 55.41 kB / 0.5491 GB, free: 25.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.007306, allocations: 150.6 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.007323, allocations: 25.7 kB / 0.5492 GB, free: 25.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.00736, allocations: 100.1 kB / 0.5493 GB, free: 25.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.00739, allocations: 43.61 kB / 0.5494 GB, free: 25.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.007448, allocations: 41.64 kB / 0.5494 GB, free: 25.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.007489, allocations: 326.8 kB / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.007541, allocations: 48.52 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.007616, allocations: 164.3 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.996e-05/0.007706, allocations: 80.17 kB / 0.55 GB, free: 24.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007708, allocations: 0 / 0.55 GB, free: 24.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001546/0.007863, allocations: 151.8 kB / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.007896, allocations: 37.7 kB / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.007901, allocations: 0 / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.007915, allocations: 0 / 0.5502 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.008063, allocations: 31.98 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.008067, allocations: 4 kB / 0.5502 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.008165, allocations: 11.98 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.008177, allocations: 4 kB / 0.5502 GB, free: 24.22 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 6.659e-05/0.008244, allocations: 128.5 kB / 0.5504 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.008265, allocations: 11.92 kB / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.008412, allocations: 94.42 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.008415, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.008417, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.008421, allocations: 11.98 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.799e-05/0.008519, allocations: 101.8 kB / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.008521, allocations: 0 / 0.5506 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.008642, allocations: 27.92 kB / 0.5506 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.008665, allocations: 7.953 kB / 0.5506 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.008669, allocations: 3.938 kB / 0.5506 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.008682, allocations: 4.047 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.008684, allocations: 4 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.008687, allocations: 3.984 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.008825, allocations: 139.3 kB / 0.5507 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.008843, allocations: 11.97 kB / 0.5508 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.008896, allocations: 11.38 kB / 0.5508 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.008932, allocations: 23.91 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.008938, allocations: 0 / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.749e-05/0.008966, allocations: 43.11 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008966, allocations: 0 / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000112/0.009078, allocations: 32 kB / 0.5509 GB, free: 23.52 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 6.937e-05/0.009147, allocations: 88.34 kB / 0.5509 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.00927, allocations: 153.1 kB / 0.5511 GB, free: 23.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.009275, allocations: 4 kB / 0.5511 GB, free: 23.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.009326, allocations: 44.84 kB / 0.5511 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.009516, allocations: 370.9 kB / 0.5515 GB, free: 22.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.01199, allocations: 358.2 kB / 0.5518 GB, free: 22.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.714e-05/0.01202, allocations: 67.84 kB / 0.5519 GB, free: 22.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.01208, allocations: 17.48 kB / 0.5519 GB, free: 22.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.01219, allocations: 87.34 kB / 0.552 GB, free: 22.21 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01219, allocations: 0 / 0.552 GB, free: 22.21 MB / 410.7 MB Notification: Performance of Templates: time 0.003527/0.01571, allocations: 2.756 MB / 0.5547 GB, free: 19.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2136897556483746]