Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_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.0007439/0.0007439, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.001646, allocations: 443.9 kB / 10.36 MB, free: 332 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.000704/0.000704, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008709/0.001575, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 1.025/1.025, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.116/1.141, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.8114/0.8114, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03172/0.8432, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.047e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference): time 0.002229/0.002249, allocations: 2.486 MB / 0.547 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.00631, allocations: 6.692 MB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.006473, allocations: 0 / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.924e-05/0.006572, allocations: 27.66 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.006809, allocations: 79.34 kB / 0.5536 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.007021, allocations: 67.72 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.007266, allocations: 266.6 kB / 0.5539 GB, free: 20.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.007398, allocations: 38.53 kB / 0.554 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.007628, allocations: 172.3 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.007826, allocations: 87.72 kB / 0.5542 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.007859, allocations: 16 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.007891, allocations: 16 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.007927, allocations: 27.88 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.008, allocations: 63.88 kB / 0.5543 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.008164, allocations: 143.5 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.008176, allocations: 0 / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008177, allocations: 0 / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.008187, allocations: 4 kB / 0.5545 GB, free: 20.38 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005113/0.008698, allocations: 0.4937 MB / 0.555 GB, free: 19.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.008731, allocations: 11.89 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.008772, allocations: 28.91 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.008912, allocations: 179 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.008928, allocations: 12.55 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.008951, allocations: 16.38 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.009103, allocations: 163.5 kB / 0.5553 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.009113, allocations: 0 / 0.5553 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.009123, allocations: 0 / 0.5553 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.009129, allocations: 4 kB / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.0092, allocations: 84.62 kB / 0.5554 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.009555, allocations: 357 kB / 0.5558 GB, free: 18.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.009711, allocations: 108.2 kB / 0.5559 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.009745, allocations: 65.67 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.009753, allocations: 4 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.009895, allocations: 204.3 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.009897, allocations: 0 / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005686/0.01047, allocations: 0.5121 MB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.01049, allocations: 162.2 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.01058, allocations: 210 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.01059, allocations: 33.7 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.01063, allocations: 116.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.01066, allocations: 71.45 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.0107, allocations: 55.17 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.168e-05/0.01073, allocations: 334.8 kB / 0.5576 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.01078, allocations: 101 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.01085, allocations: 169.3 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.01094, allocations: 213.6 kB / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01094, allocations: 7.875 kB / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001397/0.01108, allocations: 256.3 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.01111, allocations: 67.39 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01112, allocations: 224 / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01113, allocations: 8 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.01129, allocations: 69.48 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.01129, allocations: 7.938 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.01137, allocations: 15.98 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01138, allocations: 15.94 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001024/0.01148, allocations: 167.6 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.0115, allocations: 23.98 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.01153, allocations: 25.95 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.01153, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01153, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.01155, allocations: 15.86 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.01157, allocations: 11.94 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.01159, allocations: 11.98 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.01164, allocations: 8 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.01168, allocations: 19.95 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001822/0.01187, allocations: 264.2 kB / 0.559 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001827/0.01205, allocations: 434.5 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2918/0.3039, allocations: 73.09 kB / 0.5595 GB, free: 79.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001163/0.304, allocations: 62.42 kB / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of Backend: time 2.11e-07/0.304, allocations: 0 / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004683/0.3044, allocations: 336.3 kB / 0.5599 GB, free: 79.37 MB / 410.8 MB Notification: Performance of SimCode: time 0.00559/0.31, allocations: 1.114 MB / 0.5609 GB, free: 78.56 MB / 410.8 MB Notification: Performance of Templates: time 0.006583/0.3166, allocations: 3.864 MB / 0.5647 GB, free: 78.42 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene_Kyhl2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.753293422050774]