Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.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.001054/0.001054, allocations: 104.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.001465/0.001465, allocations: 216.4 kB / 23 MB, free: 2.938 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.9959/0.9959, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.7128/0.7128, allocations: 312.3 MB / 0.6108 GB, free: 97.66 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.N01AX10_Propofol.Propofol_Jones1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference") [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.001483/0.001483, allocations: 74.86 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 73.98 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference): time 0.002554/0.122, allocations: 2.302 MB / 0.8444 GB, free: 8.062 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.1274, allocations: 6.521 MB / 0.8507 GB, free: 1.539 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.1275, allocations: 3.938 kB / 0.8507 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1277, allocations: 32.44 kB / 0.8508 GB, free: 1.504 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1278, allocations: 80.09 kB / 0.8508 GB, free: 1.426 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.128, allocations: 52.47 kB / 0.8509 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1282, allocations: 255.3 kB / 0.8511 GB, free: 1.125 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1284, allocations: 41.23 kB / 0.8512 GB, free: 1.086 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.843e-05/0.1285, allocations: 95.59 kB / 0.8513 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1286, allocations: 100.2 kB / 0.8514 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1287, allocations: 16.75 kB / 0.8514 GB, free: 0.8789 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.1287, allocations: 16 kB / 0.8514 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.1287, allocations: 32.48 kB / 0.8514 GB, free: 0.832 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.1288, allocations: 99.52 kB / 0.8515 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.129, allocations: 199.8 kB / 0.8517 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.129, allocations: 0.625 kB / 0.8517 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.129, allocations: 0 / 0.8517 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.129, allocations: 4.594 kB / 0.8517 GB, free: 0.5352 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.0006649/0.1296, allocations: 0.4902 MB / 0.8522 GB, free: 0 / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1297, allocations: 8.578 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1297, allocations: 25.52 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1299, allocations: 183 kB / 0.8524 GB, free: 15.76 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1299, allocations: 9.234 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.13, allocations: 19.89 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1302, allocations: 199.6 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1302, allocations: 0 / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1302, allocations: 4.625 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1303, allocations: 4 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.1305, allocations: 147.4 kB / 0.8528 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.1313, allocations: 478.5 kB / 0.8532 GB, free: 14.87 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.1316, allocations: 177.3 kB / 0.8534 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1317, allocations: 99.52 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.1317, allocations: 0 / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.1319, allocations: 229.7 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.1319, allocations: 0.5938 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.000927/0.1328, allocations: 0.7031 MB / 0.8544 GB, free: 13.56 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.1329, allocations: 136.5 kB / 0.8545 GB, free: 13.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1331, allocations: 216.6 kB / 0.8547 GB, free: 13.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1331, allocations: 33.7 kB / 0.8548 GB, free: 13.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.1331, allocations: 129.1 kB / 0.8549 GB, free: 13.01 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.1332, allocations: 80.03 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.1332, allocations: 53.66 kB / 0.855 GB, free: 12.87 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.1333, allocations: 343.3 kB / 0.8553 GB, free: 12.53 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1335, allocations: 145.6 kB / 0.8555 GB, free: 12.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1336, allocations: 218.4 kB / 0.8557 GB, free: 12.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2604/0.3941, allocations: 272.9 kB / 0.8559 GB, free: 30.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3941, allocations: 3.188 kB / 0.8559 GB, free: 30.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004006/0.3945, allocations: 397 kB / 0.8563 GB, free: 30.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.3945, allocations: 67.3 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3945, allocations: 4 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3945, allocations: 2.375 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3946, allocations: 49.8 kB / 0.8564 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3947, allocations: 8.016 kB / 0.8565 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3948, allocations: 21.58 kB / 0.8565 GB, free: 30.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3948, allocations: 6.781 kB / 0.8565 GB, free: 30.11 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.0001547/0.3949, allocations: 174.2 kB / 0.8566 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.395, allocations: 25.38 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.395, allocations: 32.05 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.395, allocations: 0 / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.395, allocations: 1.641 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.395, allocations: 0.8125 kB / 0.8567 GB, free: 29.96 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.3955, allocations: 0.5396 MB / 0.8572 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3955, allocations: 4.812 kB / 0.8572 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.3956, allocations: 32.23 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3956, allocations: 0 / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3956, allocations: 12.03 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.3956, allocations: 7.594 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3956, allocations: 1.562 kB / 0.8573 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.396, allocations: 0.4908 MB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.396, allocations: 24.45 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.396, allocations: 8.75 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.3961, allocations: 11.77 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.3962, allocations: 23.42 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3962, allocations: 7.391 kB / 0.8578 GB, free: 29.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.058e-05/0.3963, allocations: 156.7 kB / 0.858 GB, free: 29.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3963, allocations: 2.078 kB / 0.858 GB, free: 29.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001851/0.3965, allocations: 59.16 kB / 0.858 GB, free: 29.36 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 7.385e-05/0.3965, allocations: 115 kB / 0.8582 GB, free: 29.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3968, allocations: 384 kB / 0.8585 GB, free: 29.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3968, allocations: 0 / 0.8585 GB, free: 29.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.397, allocations: 168.4 kB / 0.8587 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3972, allocations: 68.41 kB / 0.8587 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.3981, allocations: 0.7035 MB / 0.8594 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.142e-05/0.3981, allocations: 125.8 kB / 0.8596 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.3982, allocations: 24.59 kB / 0.8596 GB, free: 28.55 MB / 490.8 MB Notification: Performance of SimCode: time 7.51e-07/0.3982, allocations: 0.625 kB / 0.8596 GB, free: 28.55 MB / 490.8 MB Notification: Performance of Templates: time 0.003569/0.4017, allocations: 2.944 MB / 0.8625 GB, free: 28.34 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.967715732753277]