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.001025/0.001025, allocations: 108.3 kB / 19.71 MB, free: 432 kB / 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.001033/0.001033, allocations: 221.4 kB / 23.01 MB, free: 2.969 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 0.9648/0.9648, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.6694/0.6694, allocations: 312.3 MB / 0.6108 GB, free: 97.51 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.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.001828/0.001828, allocations: 71.42 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1132, allocations: 73.99 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam): time 0.00245/0.1156, allocations: 2.306 MB / 0.8444 GB, free: 8.059 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00481/0.1204, allocations: 6.533 MB / 0.8508 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1205, allocations: 4.594 kB / 0.8508 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1207, allocations: 24.34 kB / 0.8508 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1208, allocations: 87.83 kB / 0.8509 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.121, allocations: 44.53 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1212, allocations: 259.3 kB / 0.8512 GB, free: 1.113 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1214, allocations: 33.17 kB / 0.8512 GB, free: 1.082 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1215, allocations: 103.6 kB / 0.8513 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1216, allocations: 100.2 kB / 0.8514 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1217, allocations: 16.62 kB / 0.8514 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.1217, allocations: 20 kB / 0.8514 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.1217, allocations: 32.45 kB / 0.8515 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.1218, allocations: 92.03 kB / 0.8516 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.122, allocations: 199.2 kB / 0.8517 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.122, allocations: 0.5625 kB / 0.8517 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.784e-06/0.122, allocations: 0.5 kB / 0.8517 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.122, allocations: 4.562 kB / 0.8518 GB, free: 0.5273 MB / 474.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.0006582/0.1226, allocations: 0.4941 MB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1227, allocations: 12.52 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.1227, allocations: 24.8 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1229, allocations: 183.6 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1229, allocations: 9.141 kB / 0.8525 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.123, allocations: 24.39 kB / 0.8525 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1232, allocations: 187.1 kB / 0.8527 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1232, allocations: 7.922 kB / 0.8527 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1232, allocations: 8.656 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1232, allocations: 4.5 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1234, allocations: 138.9 kB / 0.8528 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.124, allocations: 482.8 kB / 0.8533 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.1243, allocations: 181.4 kB / 0.8534 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1244, allocations: 91.31 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1244, allocations: 4.625 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.1247, allocations: 221.1 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.1247, allocations: 0.5 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009126/0.1256, allocations: 0.7045 MB / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1257, allocations: 137.1 kB / 0.8546 GB, free: 13.38 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1258, allocations: 215 kB / 0.8548 GB, free: 13.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1258, allocations: 34.33 kB / 0.8548 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.1259, allocations: 133.1 kB / 0.8549 GB, free: 12.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1259, allocations: 71.42 kB / 0.855 GB, free: 12.92 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.126, allocations: 62.33 kB / 0.8551 GB, free: 12.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.1261, allocations: 338.8 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1262, allocations: 149.5 kB / 0.8555 GB, free: 12.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1263, allocations: 222.4 kB / 0.8557 GB, free: 12.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.283/0.4093, allocations: 279.5 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4093, allocations: 1.375 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004394/0.4097, allocations: 385.4 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.4098, allocations: 67.69 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.4098, allocations: 5.203 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4098, allocations: 3.312 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4099, allocations: 46.95 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.41, allocations: 7.062 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.4101, allocations: 18.83 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.4101, allocations: 13.31 kB / 0.8565 GB, free: 30.08 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.000166/0.4103, allocations: 171.7 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.4103, allocations: 29.48 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.4103, allocations: 23 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4103, allocations: 5.469 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4103, allocations: 0 / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4103, allocations: 1.312 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.4109, allocations: 0.5413 MB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4109, allocations: 0 / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.411, allocations: 35.17 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.411, allocations: 1.625 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.411, allocations: 10.38 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.411, allocations: 8.203 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.411, allocations: 2.281 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.4114, allocations: 496.7 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.4114, allocations: 21.3 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.4115, allocations: 10.23 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.4116, allocations: 11.27 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.4116, allocations: 23.72 kB / 0.8579 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.4116, allocations: 11.59 kB / 0.8579 GB, free: 29.4 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.4117, allocations: 158 kB / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4117, allocations: 0 / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001931/0.4119, allocations: 56.53 kB / 0.8581 GB, free: 29.33 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 8.594e-05/0.412, allocations: 112.5 kB / 0.8582 GB, free: 29.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.4123, allocations: 384.6 kB / 0.8586 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4123, allocations: 1.312 kB / 0.8586 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4125, allocations: 175.9 kB / 0.8587 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.4128, allocations: 56.28 kB / 0.8588 GB, free: 28.92 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.4137, allocations: 0.7002 MB / 0.8595 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.545e-05/0.4137, allocations: 129.1 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.4138, allocations: 25.12 kB / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.4138, allocations: 0.5625 kB / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of Templates: time 0.004308/0.4181, allocations: 2.944 MB / 0.8625 GB, free: 28.32 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05B_Anxiolytics.N05BA01_Diazepam.Diazepam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.02725915890187]