Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.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.001105/0.001105, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002464, allocations: 440 kB / 10.41 MB, free: 284 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.001024/0.001024, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.00238, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9583/0.9583, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.06, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7656/0.7656, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03538/0.801, allocations: 21.04 MB / 0.5433 GB, free: 31.49 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.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5447 GB, free: 30.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.551e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil): time 0.003441/0.003456, allocations: 2.962 MB / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.009926, allocations: 6.786 MB / 0.5543 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.01014, allocations: 4 kB / 0.5543 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.01025, allocations: 35.58 kB / 0.5543 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.01052, allocations: 130.9 kB / 0.5544 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.01074, allocations: 67.78 kB / 0.5545 GB, free: 20.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.01112, allocations: 397.9 kB / 0.5549 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.01128, allocations: 62.86 kB / 0.5549 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.0116, allocations: 246.6 kB / 0.5552 GB, free: 19.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.01185, allocations: 123.7 kB / 0.5553 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.01189, allocations: 27.94 kB / 0.5553 GB, free: 19.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.01194, allocations: 24 kB / 0.5553 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.01198, allocations: 39.86 kB / 0.5554 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.01207, allocations: 95.81 kB / 0.5555 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.01234, allocations: 199.2 kB / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.01235, allocations: 4 kB / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01236, allocations: 0 / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.01237, allocations: 0 / 0.5556 GB, free: 18.82 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008918/0.01326, allocations: 0.6321 MB / 0.5563 GB, free: 18.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.0133, allocations: 11.89 kB / 0.5563 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.01339, allocations: 36.91 kB / 0.5563 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.01367, allocations: 189.5 kB / 0.5565 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.0137, allocations: 16.75 kB / 0.5565 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.01374, allocations: 24.33 kB / 0.5565 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.014, allocations: 248.6 kB / 0.5568 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.01401, allocations: 0 / 0.5568 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.01403, allocations: 12 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.01403, allocations: 4 kB / 0.5568 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01414, allocations: 138.6 kB / 0.5569 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.01474, allocations: 0.5191 MB / 0.5574 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.01498, allocations: 158.6 kB / 0.5576 GB, free: 16.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.01504, allocations: 96.48 kB / 0.5577 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.01505, allocations: 7.938 kB / 0.5577 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.01526, allocations: 323.4 kB / 0.558 GB, free: 16.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.01526, allocations: 0 / 0.558 GB, free: 16.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001013/0.01628, allocations: 0.8224 MB / 0.5588 GB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.01635, allocations: 273 kB / 0.559 GB, free: 14.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2906/0.307, allocations: 223.2 kB / 0.5593 GB, free: 79.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.307, allocations: 37.22 kB / 0.5593 GB, free: 79.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.3071, allocations: 136 kB / 0.5594 GB, free: 79.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.3071, allocations: 120.2 kB / 0.5595 GB, free: 79.4 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.3072, allocations: 69.5 kB / 0.5596 GB, free: 79.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.3073, allocations: 348.4 kB / 0.5599 GB, free: 79.07 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.3073, allocations: 145 kB / 0.5601 GB, free: 78.97 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.3074, allocations: 253.4 kB / 0.5603 GB, free: 78.74 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3076, allocations: 349.3 kB / 0.5606 GB, free: 78.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3076, allocations: 2.438 kB / 0.5606 GB, free: 78.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002698/0.3079, allocations: 383.4 kB / 0.561 GB, free: 78.26 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.3079, allocations: 91.33 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.308, allocations: 2.875 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.308, allocations: 5.156 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3083, allocations: 107 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3083, allocations: 6.812 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3084, allocations: 20.31 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3084, allocations: 14.12 kB / 0.5613 GB, free: 78.17 MB / 410.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.000147/0.3086, allocations: 211.5 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3086, allocations: 37.84 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.3086, allocations: 33.59 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3086, allocations: 3.125 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3086, allocations: 0.9375 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3086, allocations: 2.484 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.3091, allocations: 0.5223 MB / 0.562 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3091, allocations: 1.25 kB / 0.562 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.3093, allocations: 67.62 kB / 0.5621 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.3093, allocations: 29.05 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3094, allocations: 1.625 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3094, allocations: 12.69 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3094, allocations: 1.125 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3094, allocations: 1.906 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.3097, allocations: 0.5183 MB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.3098, allocations: 11.48 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3099, allocations: 15.39 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.3099, allocations: 28.88 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3099, allocations: 11.59 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.777e-05/0.31, allocations: 78.8 kB / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.31, allocations: 0.875 kB / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002205/0.3102, allocations: 87.72 kB / 0.5629 GB, free: 77.32 MB / 410.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.0001087/0.3104, allocations: 99.47 kB / 0.563 GB, free: 77.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.3107, allocations: 492.4 kB / 0.5634 GB, free: 76.89 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.3107, allocations: 3.562 kB / 0.5634 GB, free: 76.89 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3108, allocations: 286.4 kB / 0.5637 GB, free: 76.69 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3112, allocations: 0.6593 MB / 0.5644 GB, free: 76.05 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.3186, allocations: 0.7208 MB / 0.5651 GB, free: 75.69 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.3186, allocations: 97.55 kB / 0.5652 GB, free: 75.62 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.3188, allocations: 34.98 kB / 0.5652 GB, free: 75.61 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.319, allocations: 157.7 kB / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of SimCode: time 1.162e-06/0.319, allocations: 0.5938 kB / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of Templates: time 0.007446/0.3264, allocations: 5.274 MB / 0.5705 GB, free: 74.46 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5644364217296243]