Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.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.0009874/0.0009874, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002137/0.003124, allocations: 435.8 kB / 10.33 MB, free: 368 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.001048/0.001048, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003748/0.004796, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.082/1.082, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.095/1.177, allocations: 53.66 MB / 243.2 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.7393/0.7393, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03942/0.7787, allocations: 21.04 MB / 0.5431 GB, free: 31.98 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.N02AC03_Piritramide.Piritramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.362e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide): time 0.004478/0.004502, allocations: 2.955 MB / 0.5475 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008079/0.01258, allocations: 6.794 MB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.01282, allocations: 0 / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.01293, allocations: 39.62 kB / 0.5541 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.01317, allocations: 123 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.01337, allocations: 71.8 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.01365, allocations: 393.9 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.01379, allocations: 62.84 kB / 0.5547 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.01403, allocations: 254.5 kB / 0.555 GB, free: 19.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.01422, allocations: 123.6 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.01425, allocations: 24 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.01428, allocations: 28 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.01431, allocations: 39.81 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.01439, allocations: 91.81 kB / 0.5553 GB, free: 19.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.0146, allocations: 199.3 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.01462, allocations: 0 / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01462, allocations: 0 / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.01464, allocations: 0 / 0.5555 GB, free: 19.34 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006706/0.01531, allocations: 0.636 MB / 0.5561 GB, free: 18.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.01534, allocations: 12.03 kB / 0.5561 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.0154, allocations: 32.91 kB / 0.5561 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.01558, allocations: 197.5 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.0156, allocations: 12.75 kB / 0.5563 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.01563, allocations: 28.33 kB / 0.5564 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.01583, allocations: 244 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.01585, allocations: 0 / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.01586, allocations: 12 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.01587, allocations: 7.188 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.01599, allocations: 141.8 kB / 0.5567 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.01655, allocations: 0.5077 MB / 0.5572 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.01673, allocations: 157.1 kB / 0.5574 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.01678, allocations: 103.1 kB / 0.5575 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.01679, allocations: 11.94 kB / 0.5575 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.01703, allocations: 319.3 kB / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.01703, allocations: 0 / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008153/0.01784, allocations: 0.8015 MB / 0.5586 GB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.0179, allocations: 221.6 kB / 0.5588 GB, free: 15.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.018, allocations: 232.9 kB / 0.559 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.01802, allocations: 33.7 kB / 0.5591 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.01806, allocations: 133.3 kB / 0.5592 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.539e-05/0.0181, allocations: 119 kB / 0.5593 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.01817, allocations: 70.16 kB / 0.5594 GB, free: 14.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2856/0.3038, allocations: 349.4 kB / 0.5597 GB, free: 79.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.304, allocations: 145.3 kB / 0.5598 GB, free: 79.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3041, allocations: 247.6 kB / 0.5601 GB, free: 79.17 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3044, allocations: 342.2 kB / 0.5604 GB, free: 78.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3044, allocations: 4.531 kB / 0.5604 GB, free: 78.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004363/0.3048, allocations: 384.7 kB / 0.5608 GB, free: 78.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.3049, allocations: 91.12 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3049, allocations: 3.125 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.3049, allocations: 5.469 kB / 0.5609 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.3053, allocations: 108.8 kB / 0.561 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3053, allocations: 5.312 kB / 0.561 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.3054, allocations: 22.45 kB / 0.561 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3055, allocations: 16.7 kB / 0.561 GB, free: 78.6 MB / 410.8 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0002166/0.3057, allocations: 212.8 kB / 0.5612 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.3057, allocations: 34.19 kB / 0.5612 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.3058, allocations: 37.3 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3058, allocations: 4.844 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3058, allocations: 0.5625 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3058, allocations: 2.5 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.3064, allocations: 0.5176 MB / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3064, allocations: 0 / 0.5618 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.3066, allocations: 74.38 kB / 0.5619 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.3067, allocations: 23.17 kB / 0.5619 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3067, allocations: 4.188 kB / 0.5619 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3067, allocations: 9.422 kB / 0.5619 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3067, allocations: 1.812 kB / 0.5619 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3067, allocations: 0.8125 kB / 0.5619 GB, free: 78.1 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.3072, allocations: 0.5261 MB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.3072, allocations: 10.19 kB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.3073, allocations: 17.42 kB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.3074, allocations: 25.22 kB / 0.5625 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3074, allocations: 11.59 kB / 0.5625 GB, free: 77.77 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.48e-05/0.3075, allocations: 79.42 kB / 0.5626 GB, free: 77.76 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.3075, allocations: 0.5469 kB / 0.5626 GB, free: 77.76 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002272/0.3077, allocations: 85.11 kB / 0.5626 GB, free: 77.76 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001253/0.3078, allocations: 104.2 kB / 0.5627 GB, free: 77.69 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.3082, allocations: 490.4 kB / 0.5632 GB, free: 77.33 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.3082, allocations: 4.094 kB / 0.5632 GB, free: 77.33 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.3084, allocations: 263.6 kB / 0.5635 GB, free: 77.13 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3087, allocations: 126.7 kB / 0.5636 GB, free: 77.13 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.3161, allocations: 0.7415 MB / 0.5643 GB, free: 76.77 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.3162, allocations: 96.53 kB / 0.5644 GB, free: 76.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3163, allocations: 39.83 kB / 0.5644 GB, free: 76.69 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.3165, allocations: 151.7 kB / 0.5646 GB, free: 76.65 MB / 410.8 MB Notification: Performance of SimCode: time 6.82e-07/0.3165, allocations: 0 / 0.5646 GB, free: 76.65 MB / 410.8 MB Notification: Performance of Templates: time 0.008428/0.3249, allocations: 5.254 MB / 0.5697 GB, free: 75.58 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.044591134414077]