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.001124/0.001124, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002689, allocations: 455.9 kB / 10.35 MB, free: 348 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: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002445, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1376/1.175, allocations: 53.67 MB / 243.3 MB, free: 15.55 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.7978/0.7978, allocations: 291.2 MB / 0.5227 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03761/0.8354, allocations: 21.04 MB / 0.5433 GB, free: 31.7 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 3.126e-06/3.126e-06, allocations: 0 / 0.5447 GB, free: 30.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/2.051e-05, allocations: 6.312 kB / 0.5447 GB, free: 30.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide): time 0.003928/0.003948, allocations: 2.979 MB / 0.5476 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.01144, allocations: 6.77 MB / 0.5542 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.01167, allocations: 0 / 0.5542 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.01178, allocations: 47.56 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.01201, allocations: 123 kB / 0.5544 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.01222, allocations: 75.78 kB / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.01246, allocations: 393.9 kB / 0.5548 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.01262, allocations: 58.84 kB / 0.5549 GB, free: 19.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.01285, allocations: 250.6 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.01306, allocations: 123.6 kB / 0.5552 GB, free: 19.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.0131, allocations: 24 kB / 0.5552 GB, free: 19.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-05/0.01314, allocations: 27.94 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.01318, allocations: 47.8 kB / 0.5553 GB, free: 19.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.01326, allocations: 91.81 kB / 0.5554 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.01348, allocations: 199.3 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385e-05/0.01349, allocations: 0 / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01349, allocations: 0 / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.01351, allocations: 0 / 0.5556 GB, free: 19.06 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.0007161/0.01423, allocations: 0.6282 MB / 0.5562 GB, free: 18.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.01426, allocations: 8.031 kB / 0.5562 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.01431, allocations: 40.91 kB / 0.5563 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.01449, allocations: 197.5 kB / 0.5564 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.01452, allocations: 16.75 kB / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.01455, allocations: 28.33 kB / 0.5565 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.01477, allocations: 240.7 kB / 0.5567 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01478, allocations: 0 / 0.5567 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.0148, allocations: 12 kB / 0.5567 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.01481, allocations: 4 kB / 0.5567 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.01493, allocations: 142.5 kB / 0.5569 GB, free: 17.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.01562, allocations: 0.5113 MB / 0.5574 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.01584, allocations: 158.1 kB / 0.5575 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.0159, allocations: 103.2 kB / 0.5576 GB, free: 16.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.01591, allocations: 11.92 kB / 0.5576 GB, free: 16.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.01616, allocations: 319.3 kB / 0.5579 GB, free: 16.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.01616, allocations: 0 / 0.5579 GB, free: 16.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007943/0.01695, allocations: 0.8111 MB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.01702, allocations: 277 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.01713, allocations: 229 kB / 0.5592 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.01715, allocations: 33.7 kB / 0.5592 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.294/0.3111, allocations: 134.6 kB / 0.5594 GB, free: 79.92 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3112, allocations: 113.1 kB / 0.5595 GB, free: 79.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.3113, allocations: 74 kB / 0.5595 GB, free: 79.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.3113, allocations: 348.2 kB / 0.5599 GB, free: 79.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3115, allocations: 148.2 kB / 0.56 GB, free: 79.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.3116, allocations: 250.4 kB / 0.5603 GB, free: 79.22 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3118, allocations: 345.4 kB / 0.5606 GB, free: 78.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3118, allocations: 1.906 kB / 0.5606 GB, free: 78.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002973/0.3121, allocations: 387.6 kB / 0.561 GB, free: 78.74 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3121, allocations: 92.5 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.3121, allocations: 2.219 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3121, allocations: 5.531 kB / 0.5611 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.3124, allocations: 109.9 kB / 0.5612 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3124, allocations: 5.938 kB / 0.5612 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3125, allocations: 17.92 kB / 0.5612 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3126, allocations: 15.3 kB / 0.5612 GB, free: 78.65 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.0001366/0.3127, allocations: 204.9 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.3127, allocations: 35.11 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.3128, allocations: 34.64 kB / 0.5615 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3128, allocations: 5.969 kB / 0.5615 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3128, allocations: 1.188 kB / 0.5615 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3128, allocations: 1.266 kB / 0.5615 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.3133, allocations: 0.522 MB / 0.562 GB, free: 78.15 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3133, allocations: 1.656 kB / 0.562 GB, free: 78.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.3135, allocations: 76.56 kB / 0.562 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.3135, allocations: 24.48 kB / 0.5621 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3135, allocations: 1.031 kB / 0.5621 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3135, allocations: 10.53 kB / 0.5621 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3135, allocations: 3.062 kB / 0.5621 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3135, allocations: 0.6562 kB / 0.5621 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.3138, allocations: 0.5282 MB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3139, allocations: 10.2 kB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.314, allocations: 15.27 kB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.314, allocations: 25.17 kB / 0.5627 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3141, allocations: 14.61 kB / 0.5627 GB, free: 77.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.3141, allocations: 81.14 kB / 0.5627 GB, free: 77.79 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3141, allocations: 0 / 0.5627 GB, free: 77.79 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002818/0.3144, allocations: 84.98 kB / 0.5628 GB, free: 77.79 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.0001266/0.3145, allocations: 100.5 kB / 0.5629 GB, free: 77.71 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.3149, allocations: 495.7 kB / 0.5634 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.3149, allocations: 4.531 kB / 0.5634 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.315, allocations: 274 kB / 0.5637 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.3153, allocations: 122.5 kB / 0.5638 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007957/0.3233, allocations: 0.739 MB / 0.5645 GB, free: 76.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.513e-05/0.3233, allocations: 95.08 kB / 0.5646 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000131/0.3235, allocations: 35.08 kB / 0.5646 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.3237, allocations: 145.5 kB / 0.5648 GB, free: 76.66 MB / 410.8 MB Notification: Performance of SimCode: time 8.42e-07/0.3237, allocations: 0 / 0.5648 GB, free: 76.66 MB / 410.8 MB Notification: Performance of Templates: time 0.007056/0.3308, allocations: 5.252 MB / 0.5699 GB, free: 75.56 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.202847041189671]