Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_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.001881/0.001881, 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.002254/0.002254, allocations: 219.5 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.763/1.763, allocations: 230.6 MB / 256 MB, free: 9.578 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.553/1.553, allocations: 316.8 MB / 0.6144 GB, free: 93.51 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.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_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.00498/0.00498, allocations: 73.92 kB / 0.775 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2331, allocations: 73.99 MB / 0.8473 GB, free: 5.098 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference): time 0.004963/0.2381, allocations: 2.698 MB / 0.8499 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3607/0.5987, allocations: 6.602 MB / 0.8564 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.599, allocations: 3.812 kB / 0.8564 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.5992, allocations: 37.59 kB / 0.8564 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.5995, allocations: 116.1 kB / 0.8565 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.5998, allocations: 78.56 kB / 0.8566 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.6001, allocations: 373.1 kB / 0.8569 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.6003, allocations: 55.88 kB / 0.857 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.6005, allocations: 143.4 kB / 0.8571 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.6007, allocations: 136.9 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.6008, allocations: 25.44 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.6008, allocations: 25.66 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.6009, allocations: 56.72 kB / 0.8574 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.601, allocations: 135.9 kB / 0.8575 GB, free: 21.44 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.6013, allocations: 285.7 kB / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6013, allocations: 0 / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6013, allocations: 0 / 0.8578 GB, free: 21.39 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.6013, allocations: 0 / 0.8578 GB, free: 21.39 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.0009335/0.6023, allocations: 0.6017 MB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.6023, allocations: 10.41 kB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.6024, allocations: 37.31 kB / 0.8584 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.6026, allocations: 213.5 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.6026, allocations: 16.66 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.6027, allocations: 26.88 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.6031, allocations: 282.5 kB / 0.8589 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.6031, allocations: 7.984 kB / 0.8589 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.6032, allocations: 6.656 kB / 0.8589 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.6032, allocations: 9.156 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.6036, allocations: 236 kB / 0.8592 GB, free: 20.56 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.6046, allocations: 0.6777 MB / 0.8598 GB, free: 20.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.6051, allocations: 240.1 kB / 0.8601 GB, free: 20.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.6053, allocations: 148.4 kB / 0.8602 GB, free: 20.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.6053, allocations: 5.125 kB / 0.8602 GB, free: 20.05 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.6057, allocations: 359.8 kB / 0.8605 GB, free: 19.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.6057, allocations: 0.625 kB / 0.8605 GB, free: 19.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001718/0.6074, allocations: 1.078 MB / 0.8616 GB, free: 19.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.6075, allocations: 222.4 kB / 0.8618 GB, free: 19.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.6077, allocations: 249.1 kB / 0.862 GB, free: 18.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.6077, allocations: 38.67 kB / 0.8621 GB, free: 18.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.6078, allocations: 152.7 kB / 0.8622 GB, free: 18.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.6079, allocations: 118.4 kB / 0.8623 GB, free: 18.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.608, allocations: 71.31 kB / 0.8624 GB, free: 18.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.608, allocations: 343.5 kB / 0.8627 GB, free: 18.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.6083, allocations: 208.8 kB / 0.8629 GB, free: 18.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.6086, allocations: 319.3 kB / 0.8632 GB, free: 18.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.6091, allocations: 433.6 kB / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6091, allocations: 1.219 kB / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007553/0.6099, allocations: 0.546 MB / 0.8642 GB, free: 17.51 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.6099, allocations: 97.42 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.6099, allocations: 3.469 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.61, allocations: 4.5 kB / 0.8643 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.6103, allocations: 83.44 kB / 0.8644 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.6103, allocations: 6.406 kB / 0.8644 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.6105, allocations: 25.89 kB / 0.8644 GB, free: 17.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.6106, allocations: 16.61 kB / 0.8644 GB, free: 17.4 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.0002026/0.6108, allocations: 224.7 kB / 0.8646 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.6108, allocations: 36.23 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.18e-05/0.6109, allocations: 31.8 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6109, allocations: 4.125 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6109, allocations: 3.938 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6109, allocations: 5.953 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.612, allocations: 0.7623 MB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.612, allocations: 1.797 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.6123, allocations: 52.22 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.6123, allocations: 1.906 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.6123, allocations: 15.36 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6123, allocations: 2.375 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6123, allocations: 0.5 kB / 0.8655 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6133, allocations: 0.7249 MB / 0.8662 GB, free: 16.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.6133, allocations: 28.56 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.6134, allocations: 18.77 kB / 0.8663 GB, free: 16.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.6136, allocations: 14.73 kB / 0.8663 GB, free: 16.44 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.6137, allocations: 34.28 kB / 0.8663 GB, free: 16.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.6137, allocations: 9.609 kB / 0.8663 GB, free: 16.44 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001717/0.6139, allocations: 176.2 kB / 0.8665 GB, free: 16.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.6139, allocations: 0 / 0.8665 GB, free: 16.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003673/0.6143, allocations: 86.59 kB / 0.8666 GB, free: 16.36 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.0001237/0.6144, allocations: 126.6 kB / 0.8667 GB, free: 16.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007943/0.6152, allocations: 0.5677 MB / 0.8673 GB, free: 15.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6152, allocations: 0.5 kB / 0.8673 GB, free: 15.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.6156, allocations: 302.1 kB / 0.8675 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.6161, allocations: 91.91 kB / 0.8676 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.6177, allocations: 0.9445 MB / 0.8686 GB, free: 15.22 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.6179, allocations: 159.4 kB / 0.8687 GB, free: 15.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.6181, allocations: 35 kB / 0.8687 GB, free: 15.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.6181, allocations: 27 kB / 0.8688 GB, free: 15.12 MB / 490.8 MB Notification: Performance of SimCode: time 8.61e-07/0.6181, allocations: 0 / 0.8688 GB, free: 15.12 MB / 490.8 MB Notification: Performance of Templates: time 0.01105/0.6292, allocations: 4.997 MB / 0.8736 GB, free: 14.64 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.852392398985103]