Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_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.001416/0.001416, 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.00154/0.00154, allocations: 217.3 kB / 23 MB, free: 2.965 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.9356/0.9356, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.759/0.759, allocations: 312.3 MB / 0.6109 GB, free: 97.12 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_Eleveld2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_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.001458/0.001458, allocations: 71.3 kB / 0.7699 GB, free: 19.56 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 73.99 MB / 0.8422 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference): time 0.002733/0.1224, allocations: 2.696 MB / 0.8448 GB, free: 7.008 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.1277, allocations: 6.602 MB / 0.8513 GB, free: 416 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1278, allocations: 3.938 kB / 0.8513 GB, free: 412 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1279, allocations: 44.25 kB / 0.8513 GB, free: 368 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1281, allocations: 120.3 kB / 0.8514 GB, free: 248 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1283, allocations: 72.58 kB / 0.8515 GB, free: 176 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.1286, allocations: 382.7 kB / 0.8519 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1288, allocations: 48.91 kB / 0.8519 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1289, allocations: 144.2 kB / 0.852 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1291, allocations: 140 kB / 0.8522 GB, free: 15.47 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.1291, allocations: 24 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.248e-05/0.1292, allocations: 24.5 kB / 0.8522 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.1292, allocations: 56.31 kB / 0.8523 GB, free: 15.37 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1293, allocations: 143.4 kB / 0.8524 GB, free: 15.23 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1295, allocations: 283.3 kB / 0.8527 GB, free: 14.95 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1295, allocations: 0.625 kB / 0.8527 GB, free: 14.95 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1295, allocations: 4 kB / 0.8527 GB, free: 14.95 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1296, allocations: 0.625 kB / 0.8527 GB, free: 14.95 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.0007349/0.1303, allocations: 0.5979 MB / 0.8533 GB, free: 14.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1303, allocations: 12.66 kB / 0.8533 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1304, allocations: 32.75 kB / 0.8533 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.1308, allocations: 209.6 kB / 0.8535 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1309, allocations: 13.38 kB / 0.8535 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.1309, allocations: 27.94 kB / 0.8535 GB, free: 13.99 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1312, allocations: 289.1 kB / 0.8538 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1312, allocations: 3.953 kB / 0.8538 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1312, allocations: 12.48 kB / 0.8538 GB, free: 13.67 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1312, allocations: 4.625 kB / 0.8538 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.1315, allocations: 229.2 kB / 0.8541 GB, free: 13.43 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.1323, allocations: 0.6815 MB / 0.8547 GB, free: 12.71 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.1326, allocations: 238.7 kB / 0.855 GB, free: 12.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1327, allocations: 153.5 kB / 0.8551 GB, free: 12.29 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.1328, allocations: 0 / 0.8551 GB, free: 12.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.133, allocations: 359.8 kB / 0.8554 GB, free: 11.89 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.133, allocations: 0.7188 kB / 0.8554 GB, free: 11.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2748/0.4079, allocations: 1.08 MB / 0.8565 GB, free: 21.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.4079, allocations: 218.4 kB / 0.8567 GB, free: 20.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4081, allocations: 249 kB / 0.8569 GB, free: 20.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4082, allocations: 35.17 kB / 0.857 GB, free: 20.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.4082, allocations: 158 kB / 0.8571 GB, free: 20.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.4083, allocations: 120.4 kB / 0.8572 GB, free: 20.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.4084, allocations: 71.02 kB / 0.8573 GB, free: 20.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.4084, allocations: 344.3 kB / 0.8576 GB, free: 20.15 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.4086, allocations: 206.8 kB / 0.8578 GB, free: 20.04 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.4089, allocations: 324.2 kB / 0.8581 GB, free: 19.81 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.4092, allocations: 428.4 kB / 0.8586 GB, free: 19.55 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4092, allocations: 2.344 kB / 0.8586 GB, free: 19.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005417/0.4098, allocations: 0.5502 MB / 0.8591 GB, free: 19.31 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.4098, allocations: 91.39 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4098, allocations: 4.125 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4098, allocations: 8.812 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.4101, allocations: 81.98 kB / 0.8593 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.4101, allocations: 3.594 kB / 0.8593 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.4102, allocations: 25.42 kB / 0.8593 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.4103, allocations: 17 kB / 0.8593 GB, free: 19.22 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.0001762/0.4104, allocations: 225.7 kB / 0.8595 GB, free: 19.04 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.4105, allocations: 31.25 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.4105, allocations: 34.14 kB / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4105, allocations: 0.5625 kB / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4105, allocations: 3.312 kB / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4105, allocations: 3.797 kB / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000786/0.4113, allocations: 0.7629 MB / 0.8603 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4113, allocations: 0 / 0.8603 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.4115, allocations: 61.53 kB / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4115, allocations: 0 / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.4115, allocations: 14.53 kB / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4115, allocations: 0 / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4115, allocations: 3.938 kB / 0.8604 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.4122, allocations: 0.7331 MB / 0.8611 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.4122, allocations: 23.22 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.4123, allocations: 13.5 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4124, allocations: 14.12 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.4125, allocations: 33.33 kB / 0.8612 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.4125, allocations: 11.17 kB / 0.8612 GB, free: 18.28 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001259/0.4127, allocations: 176.8 kB / 0.8614 GB, free: 18.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4127, allocations: 4.188 kB / 0.8614 GB, free: 18.2 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003295/0.413, allocations: 87.83 kB / 0.8615 GB, free: 18.2 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.0001004/0.4131, allocations: 130.4 kB / 0.8616 GB, free: 18.11 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005155/0.4136, allocations: 0.5603 MB / 0.8622 GB, free: 17.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4136, allocations: 0.625 kB / 0.8622 GB, free: 17.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.4138, allocations: 299.1 kB / 0.8624 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.4143, allocations: 85.84 kB / 0.8625 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.4156, allocations: 0.9632 MB / 0.8635 GB, free: 17.1 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.4158, allocations: 161 kB / 0.8636 GB, free: 17.02 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.4158, allocations: 29.48 kB / 0.8637 GB, free: 17.01 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.4158, allocations: 0 / 0.8637 GB, free: 17.01 MB / 490.8 MB Notification: Performance of Templates: time 0.006123/0.422, allocations: 4.022 MB / 0.8676 GB, free: 16.66 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.262516804039478]