Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.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.001006/0.001006, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002407, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.00104/0.00104, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002502, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9602/0.9602, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08487/1.045, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.8364/0.8364, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02641/0.8628, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.N01AX05_Alfaxalone.Alfaxalone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.198e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone): time 0.002256/0.002278, allocations: 2.491 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004214/0.006492, allocations: 6.688 MB / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.006616, allocations: 0 / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.769e-05/0.006693, allocations: 27.7 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.006843, allocations: 95.27 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.006979, allocations: 51.81 kB / 0.5536 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.007176, allocations: 266.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.007275, allocations: 38.53 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.007448, allocations: 180.1 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.007591, allocations: 83.78 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.007619, allocations: 16 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.007646, allocations: 16 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.007672, allocations: 27.88 kB / 0.5542 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.007728, allocations: 67.88 kB / 0.5543 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.007882, allocations: 139.5 kB / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.007895, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007896, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.007908, allocations: 0 / 0.5544 GB, free: 20.36 MB / 410.7 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.0005296/0.008437, allocations: 0.4937 MB / 0.5549 GB, free: 19.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.008468, allocations: 15.83 kB / 0.5549 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.008513, allocations: 28.91 kB / 0.5549 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.008667, allocations: 183 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.008686, allocations: 8.609 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.008709, allocations: 16.38 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.008867, allocations: 163.4 kB / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.008878, allocations: 0 / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.008888, allocations: 0 / 0.5553 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.008893, allocations: 4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.008966, allocations: 80.69 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.009341, allocations: 365 kB / 0.5557 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.009505, allocations: 112 kB / 0.5558 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.009539, allocations: 62.53 kB / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.009552, allocations: 4 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.009685, allocations: 191.3 kB / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.009686, allocations: 0 / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005206/0.01021, allocations: 0.5084 MB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.01024, allocations: 136.5 kB / 0.5567 GB, free: 17.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.01032, allocations: 210 kB / 0.5569 GB, free: 17.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.01033, allocations: 33.7 kB / 0.5569 GB, free: 17.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.01036, allocations: 124.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.01039, allocations: 63.48 kB / 0.5571 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.01044, allocations: 55.17 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.01047, allocations: 334.8 kB / 0.5575 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.01053, allocations: 100.9 kB / 0.5576 GB, free: 16.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.01059, allocations: 173.3 kB / 0.5577 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/0.01069, allocations: 211.7 kB / 0.5579 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01069, allocations: 0 / 0.5579 GB, free: 16.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001515/0.01084, allocations: 270.1 kB / 0.5582 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.01087, allocations: 59.41 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01088, allocations: 6.641 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.01089, allocations: 4 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.01105, allocations: 63.91 kB / 0.5583 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.01105, allocations: 0 / 0.5583 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.092e-05/0.01113, allocations: 23.92 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01114, allocations: 8 kB / 0.5584 GB, free: 15.88 MB / 410.7 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 9.841e-05/0.01124, allocations: 176.8 kB / 0.5585 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.01126, allocations: 23.98 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.01129, allocations: 21.95 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01129, allocations: 0 / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01129, allocations: 0 / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.0113, allocations: 4 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.01155, allocations: 378.2 kB / 0.5589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01155, allocations: 3.938 kB / 0.5589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.01168, allocations: 43.97 kB / 0.559 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.0117, allocations: 15.86 kB / 0.559 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0117, allocations: 4 kB / 0.559 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01171, allocations: 7.984 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01171, allocations: 4 kB / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01172, allocations: 0 / 0.559 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.01189, allocations: 351.8 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01192, allocations: 8 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.01199, allocations: 12 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.01204, allocations: 23.95 kB / 0.5594 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.01204, allocations: 11.88 kB / 0.5594 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2664/0.2785, allocations: 58.23 kB / 0.5595 GB, free: 79.47 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-07/0.2785, allocations: 0 / 0.5595 GB, free: 79.47 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002847/0.2787, allocations: 54.88 kB / 0.5595 GB, free: 79.47 MB / 410.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.0001152/0.2789, allocations: 90.81 kB / 0.5596 GB, free: 79.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.2791, allocations: 306.7 kB / 0.5599 GB, free: 79.18 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.2791, allocations: 3.969 kB / 0.5599 GB, free: 79.18 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.2792, allocations: 142 kB / 0.56 GB, free: 79.07 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.2795, allocations: 83.38 kB / 0.5601 GB, free: 79.07 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.2852, allocations: 0.5747 MB / 0.5607 GB, free: 78.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.2853, allocations: 80.92 kB / 0.5608 GB, free: 78.73 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.2854, allocations: 23.55 kB / 0.5608 GB, free: 78.73 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.2855, allocations: 119.4 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of SimCode: time 9.82e-07/0.2855, allocations: 0 / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of Templates: time 0.006795/0.2923, allocations: 3.799 MB / 0.5646 GB, free: 78.54 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX05_Alfaxalone.Alfaxalone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9130325336009264]