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.00066/0.00066, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008527/0.001513, 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.0007019/0.0007019, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009079/0.00161, 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.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08856/1.114, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8125/0.8125, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0316/0.8441, allocations: 21.05 MB / 0.5432 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.082e-06/1.082e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.415e-06/9.497e-06, allocations: 6.312 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil): time 0.002312/0.002321, allocations: 2.968 MB / 0.5475 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.007253, allocations: 6.786 MB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.007387, allocations: 4 kB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.007452, allocations: 39.58 kB / 0.5542 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.007625, allocations: 123 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.007776, allocations: 75.78 kB / 0.5544 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.007994, allocations: 397.9 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.008104, allocations: 62.84 kB / 0.5548 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.008307, allocations: 246.6 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.008466, allocations: 123.6 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.008495, allocations: 24 kB / 0.5552 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.008524, allocations: 24 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.008553, allocations: 39.81 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.008626, allocations: 95.81 kB / 0.5553 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.008812, allocations: 203.2 kB / 0.5555 GB, free: 19.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.008822, allocations: 0 / 0.5555 GB, free: 19.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008823, allocations: 0 / 0.5555 GB, free: 19.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.008834, allocations: 4 kB / 0.5555 GB, free: 19.32 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.0005452/0.009379, allocations: 0.6282 MB / 0.5561 GB, free: 18.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.00941, allocations: 11.89 kB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.009457, allocations: 40.91 kB / 0.5562 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.009603, allocations: 189.5 kB / 0.5564 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.009621, allocations: 20.69 kB / 0.5564 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.009648, allocations: 28.33 kB / 0.5564 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.009828, allocations: 236.7 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.009839, allocations: 4 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.009852, allocations: 8 kB / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.009858, allocations: 8 kB / 0.5567 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.009958, allocations: 142.5 kB / 0.5568 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.0105, allocations: 0.5152 MB / 0.5573 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.01067, allocations: 150.2 kB / 0.5574 GB, free: 17.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.01073, allocations: 100.5 kB / 0.5575 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.01074, allocations: 7.938 kB / 0.5575 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.01094, allocations: 321.7 kB / 0.5578 GB, free: 16.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.01094, allocations: 0 / 0.5578 GB, free: 16.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007172/0.01166, allocations: 0.815 MB / 0.5586 GB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.0117, allocations: 273 kB / 0.5589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.0118, allocations: 229 kB / 0.5591 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.01181, allocations: 33.7 kB / 0.5592 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.01185, allocations: 137.3 kB / 0.5593 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.0119, allocations: 119 kB / 0.5594 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.01196, allocations: 74.16 kB / 0.5595 GB, free: 14.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.01205, allocations: 344.1 kB / 0.5598 GB, free: 79.54 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.0122, allocations: 148.4 kB / 0.5599 GB, free: 79.44 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.01229, allocations: 245.8 kB / 0.5602 GB, free: 79.21 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.01248, allocations: 348 kB / 0.5605 GB, free: 78.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.01248, allocations: 2.031 kB / 0.5605 GB, free: 78.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003293/0.01281, allocations: 384.5 kB / 0.5609 GB, free: 78.74 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.01286, allocations: 92.72 kB / 0.561 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01287, allocations: 2.562 kB / 0.561 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01289, allocations: 5.594 kB / 0.561 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.01321, allocations: 111.1 kB / 0.5611 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.01322, allocations: 7.969 kB / 0.5611 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01335, allocations: 21.39 kB / 0.5611 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.01337, allocations: 14.39 kB / 0.5611 GB, free: 78.64 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.0001783/0.01355, allocations: 209.6 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.0136, allocations: 36.42 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.01364, allocations: 37.75 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.01365, allocations: 2.719 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01365, allocations: 1.531 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.01369, allocations: 23.66 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.0137, allocations: 9.812 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.01374, allocations: 14.31 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.01382, allocations: 14.84 kB / 0.5615 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.0139, allocations: 25.69 kB / 0.5615 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003404/0.01424, allocations: 394.2 kB / 0.5619 GB, free: 78.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003721/0.01461, allocations: 0.5925 MB / 0.5624 GB, free: 77.82 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001096/0.01472, allocations: 140.5 kB / 0.5626 GB, free: 77.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.0148, allocations: 79.67 kB / 0.5626 GB, free: 77.73 MB / 410.8 MB Notification: Performance of Backend: time 7.02e-07/0.0148, allocations: 0 / 0.5626 GB, free: 77.73 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.0152, allocations: 483.5 kB / 0.5631 GB, free: 77.4 MB / 410.8 MB Notification: Performance of SimCode: time 0.008766/0.02397, allocations: 1.311 MB / 0.5644 GB, free: 76.46 MB / 410.8 MB Notification: Performance of Templates: time 0.007123/0.03109, allocations: 5.268 MB / 0.5695 GB, free: 75.44 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8200464993715286]