Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.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.0007544/0.0007544, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001886, allocations: 443.8 kB / 10.3 MB, free: 400 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.0009956/0.0009956, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002272, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9921/0.9921, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08749/1.08, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.8233/0.8233, allocations: 291.2 MB / 0.5225 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03202/0.8553, allocations: 21.05 MB / 0.5431 GB, free: 31.96 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.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.551e-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.N01AH02_Alfentanil.Alfentanil): time 0.003678/0.003704, allocations: 2.949 MB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005695/0.009398, allocations: 6.77 MB / 0.554 GB, free: 20.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.009533, allocations: 4 kB / 0.554 GB, free: 20.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.009634, allocations: 43.56 kB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.009887, allocations: 123 kB / 0.5541 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.01008, allocations: 71.84 kB / 0.5542 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.01041, allocations: 393.9 kB / 0.5546 GB, free: 20.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.01056, allocations: 58.86 kB / 0.5546 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.01085, allocations: 250.5 kB / 0.5549 GB, free: 19.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.01107, allocations: 131.6 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.01112, allocations: 24 kB / 0.555 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.01117, allocations: 24 kB / 0.555 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.01121, allocations: 39.81 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.01132, allocations: 95.81 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.01157, allocations: 203.2 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.68e-05/0.01159, allocations: 8 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01159, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.0116, allocations: 0 / 0.5554 GB, free: 19.38 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.0008112/0.01241, allocations: 0.6205 MB / 0.556 GB, free: 18.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.01244, allocations: 11.89 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.01252, allocations: 44.89 kB / 0.556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.01273, allocations: 193.5 kB / 0.5562 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.01276, allocations: 16.75 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.01279, allocations: 32.27 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.01306, allocations: 236.1 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01307, allocations: 3.984 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.0131, allocations: 12 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.0131, allocations: 4 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.01326, allocations: 133.8 kB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.01396, allocations: 0.5116 MB / 0.5571 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.01418, allocations: 154.1 kB / 0.5573 GB, free: 17.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.01426, allocations: 104.5 kB / 0.5574 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.01427, allocations: 7.938 kB / 0.5574 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.0145, allocations: 311.4 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.0145, allocations: 4 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009043/0.0154, allocations: 0.8053 MB / 0.5585 GB, free: 15.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.01545, allocations: 221.6 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.01559, allocations: 225 kB / 0.5589 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.01561, allocations: 33.7 kB / 0.5589 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.01566, allocations: 141.3 kB / 0.5591 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.01573, allocations: 123 kB / 0.5592 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.01581, allocations: 66.17 kB / 0.5592 GB, free: 15.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2469/0.2627, allocations: 349.4 kB / 0.5596 GB, free: 79.52 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2628, allocations: 143.3 kB / 0.5597 GB, free: 79.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.2629, allocations: 252.6 kB / 0.56 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.2631, allocations: 342.4 kB / 0.5603 GB, free: 78.94 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2631, allocations: 0 / 0.5603 GB, free: 78.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003011/0.2634, allocations: 385.1 kB / 0.5606 GB, free: 78.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.2635, allocations: 97.89 kB / 0.5607 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2635, allocations: 3.922 kB / 0.5607 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2635, allocations: 4.469 kB / 0.5608 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.2638, allocations: 107.8 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.2638, allocations: 7.281 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.2639, allocations: 21.41 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.264, allocations: 13.75 kB / 0.5609 GB, free: 78.62 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.0001491/0.2641, allocations: 211.5 kB / 0.5611 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.2641, allocations: 33.28 kB / 0.5611 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.2642, allocations: 36.52 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2642, allocations: 3.125 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.2642, allocations: 2.969 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2642, allocations: 1.828 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.2647, allocations: 0.5188 MB / 0.5617 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2647, allocations: 1.703 kB / 0.5617 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.2649, allocations: 72.53 kB / 0.5617 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2649, allocations: 24.7 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2649, allocations: 1.031 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2649, allocations: 14.23 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2649, allocations: 8.109 kB / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2649, allocations: 0 / 0.5618 GB, free: 78.12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.2652, allocations: 0.5164 MB / 0.5623 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.2653, allocations: 10.89 kB / 0.5623 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.2654, allocations: 16.2 kB / 0.5623 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.2654, allocations: 31.81 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2654, allocations: 7.391 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.2655, allocations: 80.95 kB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2655, allocations: 0.875 kB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002094/0.2657, allocations: 92.47 kB / 0.5625 GB, free: 77.79 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 9.237e-05/0.2658, allocations: 98.34 kB / 0.5626 GB, free: 77.71 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.2661, allocations: 493.3 kB / 0.5631 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2661, allocations: 2.25 kB / 0.5631 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.2662, allocations: 259.4 kB / 0.5633 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.2665, allocations: 129.8 kB / 0.5635 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/0.2744, allocations: 0.7352 MB / 0.5642 GB, free: 76.78 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.887e-05/0.2745, allocations: 164 kB / 0.5643 GB, free: 76.7 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.2747, allocations: 158.4 kB / 0.5645 GB, free: 76.66 MB / 410.8 MB Notification: Performance of SimCode: time 7.42e-07/0.2747, allocations: 1.344 kB / 0.5645 GB, free: 76.66 MB / 410.8 MB Notification: Performance of Templates: time 0.004488/0.2792, allocations: 4.013 MB / 0.5684 GB, free: 75.98 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.509136898443103]