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.001918/0.001918, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.001948/0.001948, allocations: 220.1 kB / 22.25 MB, free: 3.688 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.754/1.754, allocations: 230.6 MB / 256 MB, free: 9.594 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.462/1.462, allocations: 316.7 MB / 0.6144 GB, free: 93.5 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_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.00376/0.00376, allocations: 77.84 kB / 0.775 GB, free: 14.94 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.2006, allocations: 73.99 MB / 0.8472 GB, free: 5.094 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference): time 0.005161/0.2057, allocations: 2.71 MB / 0.8499 GB, free: 2.383 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4034/0.6092, allocations: 6.597 MB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.6095, allocations: 1.969 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.6097, allocations: 39.14 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.61, allocations: 120.1 kB / 0.8565 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.6103, allocations: 74.88 kB / 0.8566 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.6107, allocations: 376.2 kB / 0.8569 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.6109, allocations: 61.5 kB / 0.857 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.6111, allocations: 140 kB / 0.8571 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.6114, allocations: 138.5 kB / 0.8572 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.6115, allocations: 27.34 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.6115, allocations: 24.25 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.6116, allocations: 55.47 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.6118, allocations: 131.1 kB / 0.8575 GB, free: 21.45 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.6122, allocations: 289.9 kB / 0.8577 GB, free: 21.41 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6122, allocations: 0.7812 kB / 0.8578 GB, free: 21.41 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6122, allocations: 0 / 0.8578 GB, free: 21.41 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.6122, allocations: 0.75 kB / 0.8578 GB, free: 21.41 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.001045/0.6132, allocations: 0.6041 MB / 0.8583 GB, free: 20.94 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6133, allocations: 7.281 kB / 0.8583 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.6133, allocations: 35.31 kB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.6136, allocations: 209 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.6136, allocations: 16.44 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.6137, allocations: 26.86 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.6142, allocations: 285.6 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.6142, allocations: 5.984 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.6142, allocations: 11.94 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.6142, allocations: 6.094 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.6147, allocations: 234.6 kB / 0.8591 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.6158, allocations: 0.6718 MB / 0.8598 GB, free: 20.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.6163, allocations: 241.6 kB / 0.86 GB, free: 20.13 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.6165, allocations: 153.4 kB / 0.8602 GB, free: 20.06 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.6165, allocations: 3.344 kB / 0.8602 GB, free: 20.06 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/0.6171, allocations: 355.8 kB / 0.8605 GB, free: 19.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.6171, allocations: 3.062 kB / 0.8605 GB, free: 19.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001889/0.619, allocations: 1.083 MB / 0.8616 GB, free: 19.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.6191, allocations: 222.8 kB / 0.8618 GB, free: 19.03 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.6193, allocations: 252.4 kB / 0.862 GB, free: 18.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.6193, allocations: 31.83 kB / 0.8621 GB, free: 18.89 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.6194, allocations: 159.7 kB / 0.8622 GB, free: 18.78 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.6195, allocations: 112.4 kB / 0.8623 GB, free: 18.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6196, allocations: 75.75 kB / 0.8624 GB, free: 18.69 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.6197, allocations: 341.2 kB / 0.8627 GB, free: 18.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.62, allocations: 207.8 kB / 0.8629 GB, free: 18.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.6203, allocations: 320.8 kB / 0.8632 GB, free: 18.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.6209, allocations: 428.8 kB / 0.8636 GB, free: 17.78 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6209, allocations: 4.312 kB / 0.8636 GB, free: 17.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008763/0.6218, allocations: 0.5467 MB / 0.8642 GB, free: 17.52 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.6219, allocations: 91.98 kB / 0.8643 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.6219, allocations: 4.047 kB / 0.8643 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.6219, allocations: 4.875 kB / 0.8643 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.6224, allocations: 82.17 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.6224, allocations: 5.844 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.6227, allocations: 24.42 kB / 0.8644 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.6227, allocations: 18.59 kB / 0.8644 GB, free: 17.41 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.0002991/0.623, allocations: 227 kB / 0.8646 GB, free: 17.23 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.6231, allocations: 33.64 kB / 0.8646 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.6232, allocations: 30.83 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.6232, allocations: 3.922 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.6232, allocations: 2.875 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6232, allocations: 7.188 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.6244, allocations: 0.7638 MB / 0.8654 GB, free: 16.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6244, allocations: 1.156 kB / 0.8654 GB, free: 16.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.6247, allocations: 54 kB / 0.8655 GB, free: 16.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6247, allocations: 1.031 kB / 0.8655 GB, free: 16.83 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.6247, allocations: 19.17 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.6247, allocations: 2.844 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6247, allocations: 3.266 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.6259, allocations: 0.7216 MB / 0.8662 GB, free: 16.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.626, allocations: 27.19 kB / 0.8662 GB, free: 16.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.626, allocations: 15.38 kB / 0.8663 GB, free: 16.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.6262, allocations: 20.56 kB / 0.8663 GB, free: 16.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6264, allocations: 28.91 kB / 0.8663 GB, free: 16.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.6264, allocations: 11.12 kB / 0.8663 GB, free: 16.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002447/0.6266, allocations: 181.7 kB / 0.8665 GB, free: 16.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6266, allocations: 0 / 0.8665 GB, free: 16.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004451/0.6271, allocations: 85.16 kB / 0.8666 GB, free: 16.38 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.0001844/0.6273, allocations: 129.4 kB / 0.8667 GB, free: 16.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.6281, allocations: 0.5688 MB / 0.8672 GB, free: 15.92 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6281, allocations: 0.6875 kB / 0.8672 GB, free: 15.92 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.6285, allocations: 300.4 kB / 0.8675 GB, free: 15.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.6291, allocations: 88.02 kB / 0.8676 GB, free: 15.73 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.631, allocations: 0.9367 MB / 0.8685 GB, free: 15.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.6311, allocations: 160 kB / 0.8687 GB, free: 15.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.6313, allocations: 34.39 kB / 0.8687 GB, free: 15.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.6314, allocations: 28.75 kB / 0.8687 GB, free: 15.15 MB / 490.8 MB Notification: Performance of SimCode: time 9.42e-07/0.6314, allocations: 1.25 kB / 0.8687 GB, free: 15.15 MB / 490.8 MB Notification: Performance of Templates: time 0.01316/0.6445, allocations: 4.997 MB / 0.8736 GB, free: 14.65 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.981367616914213]