Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.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.0009821/0.0009821, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002231, 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.001008/0.001008, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002208, 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.114/1.114, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08507/1.199, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.7927/0.7927, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04266/0.8353, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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.N02A_Opioids.N02AX06_Tapentadol.Tapentadol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.462e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol): time 0.002614/0.002629, allocations: 3.32 MB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.00703, allocations: 6.801 MB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.007181, allocations: 8 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.777e-05/0.007259, allocations: 39.56 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.007459, allocations: 127 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.007639, allocations: 87.78 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.007947, allocations: 437.8 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.008089, allocations: 67.38 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.008345, allocations: 266.5 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.008549, allocations: 135.6 kB / 0.5556 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.008586, allocations: 32 kB / 0.5556 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.008621, allocations: 32 kB / 0.5556 GB, free: 19.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.008656, allocations: 43.81 kB / 0.5557 GB, free: 19.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.008739, allocations: 107.8 kB / 0.5558 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.008948, allocations: 231.2 kB / 0.556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.008961, allocations: 4 kB / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.008961, allocations: 0 / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.008974, allocations: 0 / 0.556 GB, free: 18.79 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006741/0.009648, allocations: 0.6395 MB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.009682, allocations: 8.031 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.009737, allocations: 36.91 kB / 0.5567 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.009916, allocations: 201.5 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.009935, allocations: 16.86 kB / 0.5569 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.009966, allocations: 28.33 kB / 0.5569 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.01017, allocations: 242.2 kB / 0.5571 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01018, allocations: 7.938 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.0102, allocations: 8 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.0102, allocations: 4 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.01032, allocations: 142.6 kB / 0.5573 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.01082, allocations: 473.9 kB / 0.5578 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.01104, allocations: 175.1 kB / 0.5579 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.0111, allocations: 107.1 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.01111, allocations: 11.94 kB / 0.558 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.01131, allocations: 323.3 kB / 0.5583 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.01131, allocations: 0 / 0.5583 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007666/0.01207, allocations: 0.8346 MB / 0.5592 GB, free: 15.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.01212, allocations: 289 kB / 0.5594 GB, free: 14.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2757/0.2878, allocations: 222.2 kB / 0.5596 GB, free: 79.99 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.2879, allocations: 35.95 kB / 0.5597 GB, free: 79.96 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.288, allocations: 140.9 kB / 0.5598 GB, free: 79.88 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.288, allocations: 115.2 kB / 0.5599 GB, free: 79.84 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.2881, allocations: 77.47 kB / 0.56 GB, free: 79.82 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.2882, allocations: 346.7 kB / 0.5603 GB, free: 79.51 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.2884, allocations: 146 kB / 0.5605 GB, free: 79.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2885, allocations: 252.6 kB / 0.5607 GB, free: 79.18 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.2888, allocations: 341.8 kB / 0.561 GB, free: 78.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2888, allocations: 1.219 kB / 0.561 GB, free: 78.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004097/0.2892, allocations: 389.8 kB / 0.5614 GB, free: 78.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.2892, allocations: 89.94 kB / 0.5615 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2892, allocations: 2.406 kB / 0.5615 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2893, allocations: 6.25 kB / 0.5615 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.2896, allocations: 115.2 kB / 0.5616 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2896, allocations: 8.469 kB / 0.5616 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2897, allocations: 22.56 kB / 0.5616 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2897, allocations: 12.88 kB / 0.5617 GB, free: 78.61 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0001585/0.2899, allocations: 211.2 kB / 0.5619 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.2899, allocations: 37.84 kB / 0.5619 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.2899, allocations: 32.48 kB / 0.5619 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2899, allocations: 2.516 kB / 0.5619 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.29, allocations: 0.7812 kB / 0.5619 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.29, allocations: 32.59 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.29, allocations: 15.03 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.2901, allocations: 12.95 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.2902, allocations: 15.03 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.2902, allocations: 30.97 kB / 0.562 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003501/0.2906, allocations: 406.2 kB / 0.5624 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003651/0.291, allocations: 0.5971 MB / 0.563 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001121/0.2911, allocations: 150.9 kB / 0.5631 GB, free: 77.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.2912, allocations: 82 kB / 0.5632 GB, free: 77.69 MB / 410.8 MB Notification: Performance of Backend: time 4.01e-07/0.2912, allocations: 0 / 0.5632 GB, free: 77.69 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.2916, allocations: 486.7 kB / 0.5637 GB, free: 77.35 MB / 410.8 MB Notification: Performance of SimCode: time 0.007796/0.2994, allocations: 1.359 MB / 0.565 GB, free: 76.4 MB / 410.8 MB Notification: Performance of Templates: time 0.008017/0.3074, allocations: 5.542 MB / 0.5704 GB, free: 75.21 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7981249168515205]