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.000977/0.000977, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002304, 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.0007003/0.0007003, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009226/0.001623, 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 1.116/1.116, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1226/1.239, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7913/0.7913, allocations: 291.2 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03598/0.8273, allocations: 21.04 MB / 0.5433 GB, free: 31.47 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 2.425e-06/2.425e-06, allocations: 0 / 0.5447 GB, free: 30 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.946e-05, allocations: 6.312 kB / 0.5447 GB, free: 29.99 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide): time 0.004225/0.004254, allocations: 2.958 MB / 0.5476 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006259/0.01051, allocations: 6.774 MB / 0.5543 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.01071, allocations: 3.938 kB / 0.5543 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.01082, allocations: 39.64 kB / 0.5543 GB, free: 20.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.01104, allocations: 126.9 kB / 0.5544 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.01124, allocations: 79.77 kB / 0.5545 GB, free: 19.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.01157, allocations: 393.9 kB / 0.5549 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.01172, allocations: 62.84 kB / 0.5549 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.01198, allocations: 246.5 kB / 0.5552 GB, free: 19.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.01221, allocations: 119.7 kB / 0.5553 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.01225, allocations: 27.94 kB / 0.5553 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.046e-05/0.01229, allocations: 28 kB / 0.5553 GB, free: 19.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.01234, allocations: 35.88 kB / 0.5554 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/0.01243, allocations: 95.8 kB / 0.5555 GB, free: 19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.01272, allocations: 203.3 kB / 0.5556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.01273, allocations: 0 / 0.5556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.01273, allocations: 0 / 0.5556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.01275, allocations: 0 / 0.5556 GB, free: 18.8 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.0008231/0.01357, allocations: 0.6282 MB / 0.5563 GB, free: 18.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.01361, allocations: 12.03 kB / 0.5563 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.01368, allocations: 32.91 kB / 0.5563 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.01389, allocations: 201.5 kB / 0.5565 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.01391, allocations: 16.19 kB / 0.5565 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.01395, allocations: 32.31 kB / 0.5565 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.01418, allocations: 236.7 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.01419, allocations: 0 / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.01421, allocations: 16 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.01422, allocations: 4 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.01434, allocations: 138.5 kB / 0.5569 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.01495, allocations: 0.5191 MB / 0.5574 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.01515, allocations: 156.1 kB / 0.5576 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.0152, allocations: 108.5 kB / 0.5577 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.01521, allocations: 7.938 kB / 0.5577 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.01541, allocations: 315.3 kB / 0.558 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.01541, allocations: 0 / 0.558 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000762/0.01617, allocations: 0.8191 MB / 0.5588 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.01622, allocations: 277 kB / 0.5591 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3069/0.3231, allocations: 219.2 kB / 0.5593 GB, free: 79.58 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.3232, allocations: 37.47 kB / 0.5593 GB, free: 79.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.3233, allocations: 137.3 kB / 0.5594 GB, free: 79.47 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/0.3234, allocations: 116 kB / 0.5595 GB, free: 79.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.3234, allocations: 72.5 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.3235, allocations: 348.9 kB / 0.5599 GB, free: 79.1 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3236, allocations: 150.9 kB / 0.5601 GB, free: 79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.3237, allocations: 242.9 kB / 0.5603 GB, free: 78.76 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.3239, allocations: 347.6 kB / 0.5606 GB, free: 78.51 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3239, allocations: 0.875 kB / 0.5606 GB, free: 78.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003027/0.3242, allocations: 388 kB / 0.561 GB, free: 78.29 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.3243, allocations: 92.03 kB / 0.5611 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3243, allocations: 3.125 kB / 0.5611 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3243, allocations: 4.969 kB / 0.5611 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.3246, allocations: 107.1 kB / 0.5612 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3246, allocations: 6.016 kB / 0.5612 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3247, allocations: 21.39 kB / 0.5612 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3248, allocations: 14.78 kB / 0.5613 GB, free: 78.19 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.0001579/0.3249, allocations: 208.3 kB / 0.5615 GB, free: 78.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.325, allocations: 39.61 kB / 0.5615 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.325, allocations: 31.19 kB / 0.5615 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.325, allocations: 3.375 kB / 0.5615 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.325, allocations: 1.25 kB / 0.5615 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.325, allocations: 1.359 kB / 0.5615 GB, free: 78.01 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.3256, allocations: 0.53 MB / 0.562 GB, free: 77.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3256, allocations: 0.6094 kB / 0.562 GB, free: 77.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3258, allocations: 68.86 kB / 0.5621 GB, free: 77.69 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.3258, allocations: 24.61 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3258, allocations: 2 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3258, allocations: 12.55 kB / 0.5621 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3258, allocations: 1.656 kB / 0.5622 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3258, allocations: 3.281 kB / 0.5622 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.3262, allocations: 0.5173 MB / 0.5627 GB, free: 77.35 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3263, allocations: 11.11 kB / 0.5627 GB, free: 77.35 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3264, allocations: 16.11 kB / 0.5627 GB, free: 77.35 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.3265, allocations: 25.44 kB / 0.5627 GB, free: 77.35 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3265, allocations: 12.09 kB / 0.5627 GB, free: 77.35 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.327e-05/0.3266, allocations: 83.03 kB / 0.5628 GB, free: 77.34 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.3266, allocations: 1.562 kB / 0.5628 GB, free: 77.34 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002361/0.3268, allocations: 84.58 kB / 0.5629 GB, free: 77.34 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.0001278/0.3269, allocations: 103.5 kB / 0.563 GB, free: 77.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.3273, allocations: 489 kB / 0.5634 GB, free: 76.91 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.3273, allocations: 4.281 kB / 0.5635 GB, free: 76.91 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.3274, allocations: 283.3 kB / 0.5637 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.3279, allocations: 0.6593 MB / 0.5644 GB, free: 76.08 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.3354, allocations: 0.7279 MB / 0.5651 GB, free: 75.71 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.3354, allocations: 93.41 kB / 0.5652 GB, free: 75.64 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.3356, allocations: 35.42 kB / 0.5652 GB, free: 75.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.3359, allocations: 152.6 kB / 0.5653 GB, free: 75.59 MB / 410.8 MB Notification: Performance of SimCode: time 8.52e-07/0.3359, allocations: 0 / 0.5653 GB, free: 75.59 MB / 410.8 MB Notification: Performance of Templates: time 0.008689/0.3446, allocations: 5.276 MB / 0.5705 GB, free: 74.49 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.187357178889215]