Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.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.002363/0.002363, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.003463/0.003463, allocations: 219.6 kB / 22.25 MB, free: 3.574 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.714/1.714, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 1.443/1.443, allocations: 316.7 MB / 0.6144 GB, free: 93.31 MB / 410.7 MB " [Timeout remaining time 178] 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.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.01082/0.01082, allocations: 77.72 kB / 0.775 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2141, allocations: 73.99 MB / 0.8472 GB, free: 4.969 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam): time 0.003987/0.2181, allocations: 2.309 MB / 0.8495 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.32/0.538, allocations: 6.526 MB / 0.8559 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.5383, allocations: 1.875 kB / 0.8559 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.5385, allocations: 26.83 kB / 0.8559 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.5387, allocations: 83.61 kB / 0.856 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.539, allocations: 52.77 kB / 0.856 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.5392, allocations: 262.2 kB / 0.8563 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.5394, allocations: 33.95 kB / 0.8563 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.5395, allocations: 98.81 kB / 0.8564 GB, free: 21.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.5397, allocations: 100.8 kB / 0.8565 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.5397, allocations: 16.09 kB / 0.8565 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.5398, allocations: 17.59 kB / 0.8565 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.5398, allocations: 35.69 kB / 0.8565 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.383e-05/0.5399, allocations: 96.05 kB / 0.8566 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.5402, allocations: 197.1 kB / 0.8568 GB, free: 21.6 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5402, allocations: 0 / 0.8568 GB, free: 21.6 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5402, allocations: 1.719 kB / 0.8568 GB, free: 21.6 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.5402, allocations: 3.938 kB / 0.8568 GB, free: 21.6 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008356/0.541, allocations: 495.2 kB / 0.8573 GB, free: 21.2 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.541, allocations: 13.48 kB / 0.8573 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.5411, allocations: 25.08 kB / 0.8573 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.5413, allocations: 185.8 kB / 0.8575 GB, free: 21.03 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.5413, allocations: 14.2 kB / 0.8575 GB, free: 21.03 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.5414, allocations: 22.61 kB / 0.8576 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.5417, allocations: 189.3 kB / 0.8577 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5418, allocations: 0 / 0.8577 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.5418, allocations: 7.078 kB / 0.8577 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5418, allocations: 2.75 kB / 0.8577 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.5421, allocations: 150.2 kB / 0.8579 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.5428, allocations: 481.1 kB / 0.8583 GB, free: 20.61 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.5433, allocations: 172.6 kB / 0.8585 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.5435, allocations: 94.47 kB / 0.8586 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.5435, allocations: 4.344 kB / 0.8586 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.5438, allocations: 231.6 kB / 0.8588 GB, free: 20.37 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.5438, allocations: 0.75 kB / 0.8588 GB, free: 20.37 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001338/0.5452, allocations: 0.6988 MB / 0.8595 GB, free: 20.01 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.5452, allocations: 137.5 kB / 0.8596 GB, free: 19.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.5454, allocations: 212.5 kB / 0.8598 GB, free: 19.75 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5454, allocations: 35.42 kB / 0.8599 GB, free: 19.72 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.5455, allocations: 133.2 kB / 0.86 GB, free: 19.62 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.5455, allocations: 72.61 kB / 0.8601 GB, free: 19.58 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.5456, allocations: 60.95 kB / 0.8601 GB, free: 19.56 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.5457, allocations: 332.7 kB / 0.8604 GB, free: 19.24 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.5459, allocations: 144.8 kB / 0.8606 GB, free: 19.17 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.5461, allocations: 227.3 kB / 0.8608 GB, free: 19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.5465, allocations: 280.8 kB / 0.8611 GB, free: 18.84 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5465, allocations: 0 / 0.8611 GB, free: 18.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005477/0.547, allocations: 388.2 kB / 0.8614 GB, free: 18.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.5471, allocations: 61.75 kB / 0.8615 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.5471, allocations: 7.188 kB / 0.8615 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.5471, allocations: 4.156 kB / 0.8615 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.5473, allocations: 53.64 kB / 0.8616 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5473, allocations: 5.594 kB / 0.8616 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5475, allocations: 18.8 kB / 0.8616 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.5475, allocations: 9.562 kB / 0.8616 GB, free: 18.59 MB / 490.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001653/0.5477, allocations: 182.3 kB / 0.8618 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.5477, allocations: 24.17 kB / 0.8618 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.5478, allocations: 26.97 kB / 0.8618 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5478, allocations: 2.281 kB / 0.8618 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.5478, allocations: 1.844 kB / 0.8618 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5478, allocations: 3.672 kB / 0.8618 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.5484, allocations: 0.5384 MB / 0.8623 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5484, allocations: 3.938 kB / 0.8624 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.5486, allocations: 39.7 kB / 0.8624 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5486, allocations: 2.25 kB / 0.8624 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.5486, allocations: 6.719 kB / 0.8624 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5487, allocations: 7.781 kB / 0.8624 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5487, allocations: 4.5 kB / 0.8624 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.5493, allocations: 496.7 kB / 0.8629 GB, free: 17.85 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.5494, allocations: 21.61 kB / 0.8629 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.5494, allocations: 7.766 kB / 0.8629 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5496, allocations: 17.88 kB / 0.8629 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.5496, allocations: 24.94 kB / 0.863 GB, free: 17.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.5497, allocations: 5.734 kB / 0.863 GB, free: 17.84 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001233/0.5498, allocations: 159.9 kB / 0.8631 GB, free: 17.76 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5498, allocations: 0.5938 kB / 0.8631 GB, free: 17.76 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002886/0.5501, allocations: 60 kB / 0.8632 GB, free: 17.75 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001028/0.5502, allocations: 108.4 kB / 0.8633 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005431/0.5507, allocations: 381.1 kB / 0.8636 GB, free: 17.43 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5507, allocations: 0 / 0.8636 GB, free: 17.43 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.5509, allocations: 169.4 kB / 0.8638 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.5514, allocations: 69.36 kB / 0.8639 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.5527, allocations: 0.6827 MB / 0.8645 GB, free: 17.02 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.5528, allocations: 126.7 kB / 0.8647 GB, free: 16.94 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.5529, allocations: 27.36 kB / 0.8647 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.553, allocations: 20.67 kB / 0.8647 GB, free: 16.93 MB / 490.8 MB Notification: Performance of SimCode: time 6.91e-07/0.553, allocations: 0 / 0.8647 GB, free: 16.93 MB / 490.8 MB Notification: Performance of Templates: time 0.007967/0.5609, allocations: 3.626 MB / 0.8682 GB, free: 16.61 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.789086422882974]