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.002069/0.002069, allocations: 109.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.002364/0.002364, allocations: 210.4 kB / 22.24 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.718/1.718, allocations: 230.6 MB / 256 MB, free: 9.613 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.41/1.41, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.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.003758/0.003758, allocations: 75.61 kB / 0.775 GB, free: 14.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1909, allocations: 73.99 MB / 0.8472 GB, free: 4.977 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference): time 0.004628/0.1955, allocations: 2.297 MB / 0.8495 GB, free: 2.68 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3896/0.5851, allocations: 6.523 MB / 0.8558 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.5854, allocations: 0 / 0.8558 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.5855, allocations: 27.59 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.5858, allocations: 81.05 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.586, allocations: 52.98 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.5863, allocations: 263.3 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.5864, allocations: 31.42 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.5866, allocations: 99.53 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.5868, allocations: 98.8 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.5868, allocations: 16.47 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.03e-05/0.5869, allocations: 18.34 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.5869, allocations: 44.02 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.587, allocations: 90.42 kB / 0.8566 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.5873, allocations: 195.5 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5873, allocations: 1.812 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5873, allocations: 3.938 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.5873, allocations: 0 / 0.8568 GB, free: 21.84 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.0009048/0.5882, allocations: 498 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5883, allocations: 14.16 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.5883, allocations: 26.39 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.5886, allocations: 180.2 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5886, allocations: 10.83 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.5886, allocations: 22.73 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.589, allocations: 190.3 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.589, allocations: 2.562 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.5891, allocations: 4.656 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5891, allocations: 2.469 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.5894, allocations: 149.4 kB / 0.8579 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.5901, allocations: 482.9 kB / 0.8583 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.5905, allocations: 180 kB / 0.8585 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.5907, allocations: 94.88 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.5907, allocations: 0 / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.591, allocations: 231.8 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.591, allocations: 0.5312 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001306/0.5923, allocations: 0.6964 MB / 0.8595 GB, free: 20.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.5923, allocations: 136.4 kB / 0.8596 GB, free: 20.1 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.5925, allocations: 221.1 kB / 0.8598 GB, free: 20 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.5926, allocations: 31.3 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.5926, allocations: 137.4 kB / 0.86 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.5927, allocations: 75.39 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.5928, allocations: 52.69 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.5929, allocations: 338 kB / 0.8604 GB, free: 19.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.5931, allocations: 144.4 kB / 0.8606 GB, free: 19.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.5933, allocations: 223.9 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.5937, allocations: 275.8 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5937, allocations: 0.5312 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005351/0.5942, allocations: 393.6 kB / 0.8614 GB, free: 18.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.5943, allocations: 63.44 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5943, allocations: 8.016 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5943, allocations: 3.719 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.5945, allocations: 55.56 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5945, allocations: 5.531 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.5947, allocations: 15.25 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.5947, allocations: 9.219 kB / 0.8616 GB, free: 18.83 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.0001625/0.5949, allocations: 185.5 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.5949, allocations: 21.27 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.5949, allocations: 30 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5949, allocations: 2.5 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5949, allocations: 0 / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5949, allocations: 2.422 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.5956, allocations: 0.5451 MB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5956, allocations: 1.188 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.5958, allocations: 35.53 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5958, allocations: 3.625 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.5958, allocations: 5.516 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5958, allocations: 5.938 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5958, allocations: 0 / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.5964, allocations: 499.4 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.5964, allocations: 18.33 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.5965, allocations: 14 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.5966, allocations: 15.06 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.5967, allocations: 19.19 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.5967, allocations: 15.34 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00011/0.5968, allocations: 151.6 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5968, allocations: 0.5625 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002849/0.5971, allocations: 55.94 kB / 0.8632 GB, free: 18 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.000125/0.5973, allocations: 115.3 kB / 0.8633 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005255/0.5978, allocations: 383.9 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5978, allocations: 0 / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.598, allocations: 174.3 kB / 0.8638 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.0004751/0.5985, allocations: 70.94 kB / 0.8639 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.6, allocations: 0.6805 MB / 0.8645 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.6001, allocations: 126.9 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.6002, allocations: 24.3 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.6003, allocations: 20.7 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.6003, allocations: 0 / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of Templates: time 0.008038/0.6083, allocations: 3.638 MB / 0.8682 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.887763856910169]