Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.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.0009676/0.0009676, allocations: 108.4 kB / 19.71 MB, free: 436 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.001212/0.001212, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.034/1.034, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7505/0.7505, allocations: 312.3 MB / 0.6108 GB, free: 97.63 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.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") [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.004875/0.004875, allocations: 72.89 kB / 0.7699 GB, free: 20.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1372, allocations: 74 MB / 0.8422 GB, free: 10.21 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil): time 0.003003/0.1402, allocations: 2.703 MB / 0.8448 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.1461, allocations: 6.61 MB / 0.8513 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.1463, allocations: 4 kB / 0.8513 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.1465, allocations: 36.17 kB / 0.8513 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1468, allocations: 124.1 kB / 0.8514 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.147, allocations: 72.41 kB / 0.8515 GB, free: 0.668 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.1473, allocations: 374.7 kB / 0.8519 GB, free: 308 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1475, allocations: 57.56 kB / 0.8519 GB, free: 252 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1476, allocations: 139.5 kB / 0.8521 GB, free: 112 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1479, allocations: 143.8 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1479, allocations: 24.62 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.1479, allocations: 24.5 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.148, allocations: 59.7 kB / 0.8523 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1481, allocations: 132 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1483, allocations: 291.6 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1484, allocations: 3.938 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1484, allocations: 0.5625 kB / 0.8527 GB, free: 15.45 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1484, allocations: 0 / 0.8527 GB, free: 15.45 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008336/0.1492, allocations: 0.5984 MB / 0.8533 GB, free: 14.8 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.1493, allocations: 8.031 kB / 0.8533 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.1493, allocations: 37.25 kB / 0.8533 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1496, allocations: 213.7 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1496, allocations: 16.75 kB / 0.8536 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.1496, allocations: 24.44 kB / 0.8536 GB, free: 14.48 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.15, allocations: 285.1 kB / 0.8538 GB, free: 14.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.15, allocations: 7.891 kB / 0.8539 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.15, allocations: 12.66 kB / 0.8539 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.15, allocations: 4 kB / 0.8539 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.1505, allocations: 229.6 kB / 0.8541 GB, free: 13.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.1513, allocations: 0.6817 MB / 0.8548 GB, free: 13.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.1517, allocations: 226.7 kB / 0.855 GB, free: 12.95 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1518, allocations: 153.6 kB / 0.8551 GB, free: 12.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1519, allocations: 4 kB / 0.8551 GB, free: 12.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.1522, allocations: 355.8 kB / 0.8555 GB, free: 12.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.1522, allocations: 4.531 kB / 0.8555 GB, free: 12.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2981/0.4502, allocations: 1.078 MB / 0.8565 GB, free: 21.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4503, allocations: 220 kB / 0.8567 GB, free: 20.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.4505, allocations: 245.8 kB / 0.857 GB, free: 20.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4505, allocations: 39.92 kB / 0.857 GB, free: 20.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.4506, allocations: 156.7 kB / 0.8571 GB, free: 20.76 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.4507, allocations: 112.3 kB / 0.8573 GB, free: 20.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.4507, allocations: 78.53 kB / 0.8573 GB, free: 20.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.4508, allocations: 342 kB / 0.8577 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.451, allocations: 214.7 kB / 0.8579 GB, free: 20.26 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.4512, allocations: 314.4 kB / 0.8582 GB, free: 20.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.4516, allocations: 433.3 kB / 0.8586 GB, free: 19.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4516, allocations: 0 / 0.8586 GB, free: 19.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004923/0.452, allocations: 0.5498 MB / 0.8591 GB, free: 19.53 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.4521, allocations: 94.34 kB / 0.8592 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4521, allocations: 5.375 kB / 0.8592 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.4521, allocations: 8.812 kB / 0.8592 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.4523, allocations: 77.92 kB / 0.8593 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4523, allocations: 10.55 kB / 0.8593 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.4525, allocations: 24.44 kB / 0.8593 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.4525, allocations: 15.31 kB / 0.8593 GB, free: 19.44 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: 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.0001977/0.4527, allocations: 233 kB / 0.8596 GB, free: 19.25 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.4527, allocations: 30.09 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.4527, allocations: 35.92 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4528, allocations: 2.812 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4528, allocations: 0 / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.4528, allocations: 1.188 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000731/0.4535, allocations: 0.7613 MB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4535, allocations: 3.812 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.4537, allocations: 59.69 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4537, allocations: 2.875 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.4537, allocations: 9.312 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4537, allocations: 2.938 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4537, allocations: 4.656 kB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.4543, allocations: 0.7286 MB / 0.8612 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.4543, allocations: 27.41 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.4543, allocations: 10.69 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4544, allocations: 18.19 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.4545, allocations: 33.39 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4545, allocations: 8.281 kB / 0.8613 GB, free: 18.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000125/0.4547, allocations: 181.9 kB / 0.8614 GB, free: 18.42 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4547, allocations: 0.5938 kB / 0.8614 GB, free: 18.42 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002427/0.4549, allocations: 84.78 kB / 0.8615 GB, free: 18.42 MB / 490.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.0001138/0.455, allocations: 124 kB / 0.8616 GB, free: 18.33 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.4555, allocations: 0.563 MB / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4555, allocations: 0 / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.4557, allocations: 303.9 kB / 0.8625 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4561, allocations: 88.92 kB / 0.8626 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4573, allocations: 0.9745 MB / 0.8635 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.4574, allocations: 158.7 kB / 0.8637 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.4575, allocations: 28.94 kB / 0.8637 GB, free: 17.22 MB / 490.8 MB Notification: Performance of SimCode: time 8.71e-07/0.4575, allocations: 0 / 0.8637 GB, free: 17.22 MB / 490.8 MB Notification: Performance of Templates: time 0.00744/0.4649, allocations: 4.01 MB / 0.8676 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3198520708829165]