Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_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.001046/0.001046, allocations: 92.5 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001173/0.001173, allocations: 170.2 kB / 23.21 MB, free: 1.336 MB / 18.57 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.9199/0.9199, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7186/0.7186, allocations: 291.2 MB / 0.5382 GB, free: 51.79 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_Bouillon1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.082e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference): time 0.003325/0.003356, allocations: 2.299 MB / 0.6996 GB, free: 8.082 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.00822, allocations: 6.526 MB / 0.706 GB, free: 1.547 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.008394, allocations: 4 kB / 0.706 GB, free: 1.543 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.008516, allocations: 23.72 kB / 0.706 GB, free: 1.52 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.008705, allocations: 91.25 kB / 0.7061 GB, free: 1.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.008923, allocations: 55.81 kB / 0.7061 GB, free: 1.375 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.00911, allocations: 270.6 kB / 0.7064 GB, free: 1.109 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.009236, allocations: 32.56 kB / 0.7064 GB, free: 1.082 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.009365, allocations: 147.6 kB / 0.7066 GB, free: 0.9375 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.009521, allocations: 79.78 kB / 0.7066 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.009547, allocations: 16 kB / 0.7066 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.009566, allocations: 19.94 kB / 0.7067 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.009592, allocations: 43.84 kB / 0.7067 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.009651, allocations: 75.77 kB / 0.7068 GB, free: 0.707 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.009816, allocations: 199.4 kB / 0.707 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.009819, allocations: 0 / 0.707 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.00982, allocations: 0 / 0.707 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.009825, allocations: 0 / 0.707 GB, free: 0.5117 MB / 410.8 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.0005711/0.0104, allocations: 492.9 kB / 0.7074 GB, free: 15.98 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.01043, allocations: 12.03 kB / 0.7074 GB, free: 15.97 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.01048, allocations: 24.8 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.01066, allocations: 182.3 kB / 0.7076 GB, free: 15.74 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.01068, allocations: 12.61 kB / 0.7077 GB, free: 15.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.0107, allocations: 12.38 kB / 0.7077 GB, free: 15.72 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.01095, allocations: 198.5 kB / 0.7079 GB, free: 15.51 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.01096, allocations: 7.938 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.01097, allocations: 4 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.01098, allocations: 4 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.01118, allocations: 150.2 kB / 0.708 GB, free: 15.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.01173, allocations: 489.4 kB / 0.7085 GB, free: 14.83 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.01204, allocations: 172 kB / 0.7086 GB, free: 14.65 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.01214, allocations: 98.52 kB / 0.7087 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.01215, allocations: 0 / 0.7087 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.01239, allocations: 237.6 kB / 0.709 GB, free: 14.28 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.163e-06/0.01239, allocations: 0 / 0.709 GB, free: 14.28 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009445/0.01333, allocations: 0.6946 MB / 0.7096 GB, free: 13.52 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.0134, allocations: 136.5 kB / 0.7098 GB, free: 13.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.01355, allocations: 219 kB / 0.71 GB, free: 13.14 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.01357, allocations: 45.56 kB / 0.71 GB, free: 13.09 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.01365, allocations: 128.5 kB / 0.7102 GB, free: 12.96 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.0137, allocations: 75.41 kB / 0.7102 GB, free: 12.88 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.01376, allocations: 45.7 kB / 0.7103 GB, free: 12.83 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.01385, allocations: 342.8 kB / 0.7106 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.014, allocations: 141 kB / 0.7107 GB, free: 12.33 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.01416, allocations: 221.3 kB / 0.7109 GB, free: 12.07 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.01441, allocations: 288.9 kB / 0.7112 GB, free: 11.75 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01441, allocations: 0 / 0.7112 GB, free: 11.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003505/0.01476, allocations: 398.2 kB / 0.7116 GB, free: 11.33 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.0148, allocations: 63.39 kB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01481, allocations: 0 / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01482, allocations: 4 kB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01494, allocations: 55.84 kB / 0.7117 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.01495, allocations: 4 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.01503, allocations: 20.2 kB / 0.7117 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01505, allocations: 16 kB / 0.7118 GB, free: 11.16 MB / 426.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: 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 0.0001553/0.01521, allocations: 173 kB / 0.7119 GB, free: 10.97 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01523, allocations: 19.91 kB / 0.7119 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.01526, allocations: 25.95 kB / 0.712 GB, free: 10.93 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01526, allocations: 0 / 0.712 GB, free: 10.93 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01527, allocations: 3.938 kB / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01527, allocations: 0 / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.01576, allocations: 0.5464 MB / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01576, allocations: 0 / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.967e-05/0.01586, allocations: 31.97 kB / 0.7125 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01586, allocations: 0 / 0.7125 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01588, allocations: 8 kB / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01588, allocations: 3.938 kB / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01588, allocations: 0 / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.01633, allocations: 0.5027 MB / 0.713 GB, free: 9.754 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.01636, allocations: 19.89 kB / 0.713 GB, free: 9.734 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.01638, allocations: 8.094 kB / 0.7131 GB, free: 9.727 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.01647, allocations: 15.98 kB / 0.7131 GB, free: 9.711 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.01653, allocations: 23.95 kB / 0.7131 GB, free: 9.688 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.01655, allocations: 4 kB / 0.7131 GB, free: 9.684 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.573e-05/0.01664, allocations: 164.4 kB / 0.7133 GB, free: 9.523 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01664, allocations: 0 / 0.7133 GB, free: 9.523 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001866/0.01683, allocations: 56 kB / 0.7133 GB, free: 9.469 MB / 426.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.0001123/0.01694, allocations: 121.9 kB / 0.7134 GB, free: 9.344 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.01731, allocations: 383.6 kB / 0.7138 GB, free: 8.926 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01731, allocations: 0 / 0.7138 GB, free: 8.926 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.01746, allocations: 169 kB / 0.714 GB, free: 8.742 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.01775, allocations: 68.33 kB / 0.714 GB, free: 8.676 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.0185, allocations: 0.5974 MB / 0.7146 GB, free: 8.043 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.01857, allocations: 125.6 kB / 0.7147 GB, free: 7.898 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.01862, allocations: 20.5 kB / 0.7147 GB, free: 7.879 MB / 426.8 MB Notification: Performance of SimCode: time 6.51e-07/0.01862, allocations: 0 / 0.7147 GB, free: 7.879 MB / 426.8 MB Notification: Performance of Templates: time 0.003239/0.02186, allocations: 2.952 MB / 0.7176 GB, free: 4.957 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.506196886301041]