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.000893/0.000893, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002082/0.002975, allocations: 435.8 kB / 10.31 MB, free: 384 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.001287/0.001287, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001841/0.003129, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.066/1.066, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0974/1.163, allocations: 53.66 MB / 243.2 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.8526/0.8526, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0394/0.892, allocations: 21.04 MB / 0.5431 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.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.334e-06/2.334e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.918e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide): time 0.003565/0.003595, allocations: 2.958 MB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.009253, allocations: 6.77 MB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.009549, allocations: 0 / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.009688, allocations: 43.56 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.009961, allocations: 123 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.01019, allocations: 75.83 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.0105, allocations: 397.8 kB / 0.5546 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.01067, allocations: 62.84 kB / 0.5547 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.01092, allocations: 242.6 kB / 0.5549 GB, free: 19.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.01116, allocations: 123.6 kB / 0.555 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.0112, allocations: 24 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.01124, allocations: 24 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.01129, allocations: 43.81 kB / 0.5551 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.01138, allocations: 91.81 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.01161, allocations: 207.2 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.961e-05/0.01163, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01163, allocations: 4 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.01165, allocations: 0 / 0.5554 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.0008023/0.01245, allocations: 0.6282 MB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.01249, allocations: 12.03 kB / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.01255, allocations: 32.91 kB / 0.5561 GB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.01274, allocations: 197.5 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.01276, allocations: 12.75 kB / 0.5563 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.01279, allocations: 32.33 kB / 0.5563 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.01302, allocations: 244 kB / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.01304, allocations: 0 / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.01305, allocations: 12 kB / 0.5565 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.01306, allocations: 4 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.01318, allocations: 137.8 kB / 0.5567 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.01381, allocations: 0.5116 MB / 0.5572 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.01402, allocations: 154.1 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.01408, allocations: 103.2 kB / 0.5574 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.0141, allocations: 7.938 kB / 0.5574 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.01432, allocations: 317.8 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.394e-06/0.01432, allocations: 3.984 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000806/0.01513, allocations: 0.8048 MB / 0.5585 GB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.01518, allocations: 221.6 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.0153, allocations: 229 kB / 0.559 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01532, allocations: 33.7 kB / 0.559 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.01537, allocations: 137.3 kB / 0.5591 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.01543, allocations: 119 kB / 0.5592 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.0155, allocations: 74.16 kB / 0.5593 GB, free: 14.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2928/0.3083, allocations: 346.7 kB / 0.5596 GB, free: 79.48 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3084, allocations: 143.2 kB / 0.5598 GB, free: 79.38 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.3085, allocations: 248.7 kB / 0.56 GB, free: 79.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.3087, allocations: 339.9 kB / 0.5603 GB, free: 78.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3087, allocations: 4.188 kB / 0.5603 GB, free: 78.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002988/0.309, allocations: 385.2 kB / 0.5607 GB, free: 78.67 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.3091, allocations: 90.92 kB / 0.5608 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3091, allocations: 4.875 kB / 0.5608 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3091, allocations: 6 kB / 0.5608 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.3094, allocations: 112.8 kB / 0.5609 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3094, allocations: 4.906 kB / 0.5609 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3095, allocations: 20.86 kB / 0.5609 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3096, allocations: 14.25 kB / 0.5609 GB, free: 78.58 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.0001593/0.3097, allocations: 209 kB / 0.5611 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.3098, allocations: 34.7 kB / 0.5612 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3098, allocations: 39.52 kB / 0.5612 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3098, allocations: 3.781 kB / 0.5612 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3098, allocations: 0 / 0.5612 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3098, allocations: 4 kB / 0.5612 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.3103, allocations: 0.5118 MB / 0.5617 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3103, allocations: 0.6094 kB / 0.5617 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3105, allocations: 75.67 kB / 0.5618 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3106, allocations: 24.72 kB / 0.5618 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3106, allocations: 4.359 kB / 0.5618 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3106, allocations: 13.58 kB / 0.5618 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3106, allocations: 1.062 kB / 0.5618 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3106, allocations: 1.859 kB / 0.5618 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.311, allocations: 0.5177 MB / 0.5623 GB, free: 77.75 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.311, allocations: 16.44 kB / 0.5624 GB, free: 77.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3111, allocations: 16.67 kB / 0.5624 GB, free: 77.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.3112, allocations: 28.64 kB / 0.5624 GB, free: 77.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3112, allocations: 11.97 kB / 0.5624 GB, free: 77.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.3113, allocations: 80.22 kB / 0.5625 GB, free: 77.74 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3113, allocations: 0 / 0.5625 GB, free: 77.74 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000216/0.3115, allocations: 85.97 kB / 0.5626 GB, free: 77.74 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.0001014/0.3116, allocations: 98.67 kB / 0.5627 GB, free: 77.67 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.3119, allocations: 484.3 kB / 0.5631 GB, free: 77.31 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3119, allocations: 2.781 kB / 0.5631 GB, free: 77.31 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.312, allocations: 265.1 kB / 0.5634 GB, free: 77.11 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3123, allocations: 128.2 kB / 0.5635 GB, free: 77.11 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007657/0.32, allocations: 0.7481 MB / 0.5642 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.849e-05/0.3201, allocations: 96.73 kB / 0.5643 GB, free: 76.68 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.3202, allocations: 35.81 kB / 0.5644 GB, free: 76.67 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3205, allocations: 145.9 kB / 0.5645 GB, free: 76.63 MB / 410.8 MB Notification: Performance of SimCode: time 1.392e-06/0.3205, allocations: 0.6875 kB / 0.5645 GB, free: 76.63 MB / 410.8 MB Notification: Performance of Templates: time 0.007782/0.3282, allocations: 5.257 MB / 0.5696 GB, free: 75.55 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.3928249683231115]