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.001216/0.001216, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001954/0.00317, allocations: 443.9 kB / 10.36 MB, free: 332 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.001193/0.001193, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002749, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0989/1.157, allocations: 53.67 MB / 243.3 MB, free: 15.59 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.8279/0.8279, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03777/0.8657, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.222e-06/1.222e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.307e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference): time 0.002772/0.002795, allocations: 2.487 MB / 0.547 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005207/0.008002, allocations: 6.692 MB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.008183, allocations: 0 / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.008286, allocations: 27.66 kB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.008485, allocations: 87.31 kB / 0.5536 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.008661, allocations: 51.81 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.008886, allocations: 274.5 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.009011, allocations: 42.52 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.009215, allocations: 172.3 kB / 0.5541 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.009393, allocations: 87.72 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.009424, allocations: 16 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.698e-05/0.009451, allocations: 16 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.009484, allocations: 27.88 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.009552, allocations: 63.88 kB / 0.5543 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.009742, allocations: 139.5 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.009755, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009756, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.009771, allocations: 4 kB / 0.5545 GB, free: 20.37 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.0005839/0.01036, allocations: 0.4976 MB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.01039, allocations: 15.84 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.01045, allocations: 28.91 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.01062, allocations: 175 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.01064, allocations: 8.609 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.01067, allocations: 24.3 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.01086, allocations: 159.5 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.01087, allocations: 0 / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.01088, allocations: 4 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.01089, allocations: 7.984 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.01098, allocations: 76.66 kB / 0.5554 GB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.01143, allocations: 364.9 kB / 0.5558 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.01162, allocations: 104.2 kB / 0.5559 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.01167, allocations: 62.55 kB / 0.5559 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.01168, allocations: 4 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.01185, allocations: 194.9 kB / 0.5561 GB, free: 18.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.01186, allocations: 0 / 0.5561 GB, free: 18.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006614/0.01252, allocations: 0.5132 MB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.01255, allocations: 162.2 kB / 0.5568 GB, free: 17.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.01266, allocations: 210 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.01268, allocations: 33.7 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.01272, allocations: 120.4 kB / 0.5571 GB, free: 17.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.01276, allocations: 67.47 kB / 0.5572 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.01281, allocations: 55.17 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.01285, allocations: 330.8 kB / 0.5576 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.0129, allocations: 101 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.01296, allocations: 173.3 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.469e-05/0.01305, allocations: 215 kB / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01305, allocations: 0 / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001471/0.0132, allocations: 264.2 kB / 0.5583 GB, free: 16.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.01323, allocations: 63.39 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01324, allocations: 224 / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.01325, allocations: 8 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.01342, allocations: 66.97 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01342, allocations: 7.984 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.0135, allocations: 12 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01351, allocations: 11.94 kB / 0.5585 GB, free: 15.86 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 0.0001127/0.01363, allocations: 184.2 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01365, allocations: 35.91 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.01368, allocations: 21.97 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.01368, allocations: 3.984 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01368, allocations: 0 / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.0137, allocations: 15.86 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01371, allocations: 7.938 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.01374, allocations: 8 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.01379, allocations: 15.98 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.01383, allocations: 15.97 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00018/0.01401, allocations: 271 kB / 0.559 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001878/0.0142, allocations: 419.7 kB / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2578/0.272, allocations: 82.58 kB / 0.5595 GB, free: 79.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001352/0.2721, allocations: 62.09 kB / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of Backend: time 3.91e-07/0.2721, allocations: 0 / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005352/0.2727, allocations: 333.4 kB / 0.5599 GB, free: 79.35 MB / 410.8 MB Notification: Performance of SimCode: time 0.005587/0.2783, allocations: 1.12 MB / 0.561 GB, free: 78.54 MB / 410.8 MB Notification: Performance of Templates: time 0.006672/0.2849, allocations: 3.851 MB / 0.5647 GB, free: 78.39 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Bouillon1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7556517217308283]