Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_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.0009489/0.0009489, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002546, 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.001325/0.001325, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.002976, 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08809/1.114, allocations: 53.66 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.8238/0.8238, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03462/0.8584, allocations: 21.06 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_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.166e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference): time 0.003725/0.003746, allocations: 2.939 MB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005915/0.009661, allocations: 6.786 MB / 0.5541 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.009821, allocations: 4 kB / 0.5541 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.447e-05/0.009915, allocations: 39.58 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.01017, allocations: 123 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.01036, allocations: 71.78 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.01068, allocations: 401.9 kB / 0.5547 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.01083, allocations: 62.84 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.0111, allocations: 250.6 kB / 0.555 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.01131, allocations: 123.6 kB / 0.5551 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.01135, allocations: 24 kB / 0.5551 GB, free: 19.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.01139, allocations: 24 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.01143, allocations: 39.81 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.01153, allocations: 95.81 kB / 0.5553 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.01178, allocations: 199.3 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.01179, allocations: 0 / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01179, allocations: 7.938 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.0118, allocations: 0 / 0.5555 GB, free: 19.36 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.0007926/0.0126, allocations: 0.6282 MB / 0.5561 GB, free: 18.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.01264, allocations: 15.84 kB / 0.5561 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.01271, allocations: 36.91 kB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.01292, allocations: 189.5 kB / 0.5563 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.01294, allocations: 20.75 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.01298, allocations: 24.33 kB / 0.5564 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.01326, allocations: 244.6 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.01327, allocations: 4 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.01329, allocations: 8 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.0133, allocations: 4 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.01345, allocations: 142.5 kB / 0.5567 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.01417, allocations: 0.5152 MB / 0.5572 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.01439, allocations: 154.1 kB / 0.5574 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.333e-05/0.01447, allocations: 96.48 kB / 0.5575 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.01448, allocations: 7.938 kB / 0.5575 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.01471, allocations: 322.7 kB / 0.5578 GB, free: 16.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.01471, allocations: 0 / 0.5578 GB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009204/0.01563, allocations: 0.8131 MB / 0.5586 GB, free: 15.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.01569, allocations: 273 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.01582, allocations: 225 kB / 0.5591 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.01584, allocations: 37.7 kB / 0.5591 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.01589, allocations: 141.3 kB / 0.5592 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.01596, allocations: 115 kB / 0.5593 GB, free: 15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.01604, allocations: 78.16 kB / 0.5594 GB, free: 14.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2565/0.2725, allocations: 338.8 kB / 0.5597 GB, free: 79.52 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2727, allocations: 145.4 kB / 0.5599 GB, free: 79.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.2727, allocations: 251.5 kB / 0.5601 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2729, allocations: 340.8 kB / 0.5604 GB, free: 78.94 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2729, allocations: 1.281 kB / 0.5604 GB, free: 78.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002874/0.2732, allocations: 385.9 kB / 0.5608 GB, free: 78.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.2732, allocations: 90.97 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2732, allocations: 9.625 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2733, allocations: 5.719 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.2735, allocations: 107.4 kB / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2735, allocations: 5.562 kB / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2736, allocations: 20.53 kB / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.2737, allocations: 15.56 kB / 0.5611 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.000136/0.2738, allocations: 213.5 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.2738, allocations: 35 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.2739, allocations: 37.17 kB / 0.5613 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.2739, allocations: 2.484 kB / 0.5613 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2739, allocations: 1.188 kB / 0.5613 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.2739, allocations: 22.02 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2739, allocations: 9.328 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.274, allocations: 13.94 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.274, allocations: 17.55 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.2741, allocations: 25.59 kB / 0.5614 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003025/0.2744, allocations: 391.5 kB / 0.5618 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003207/0.2747, allocations: 0.5952 MB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.777e-05/0.2748, allocations: 136.3 kB / 0.5625 GB, free: 77.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.2749, allocations: 82.84 kB / 0.5626 GB, free: 77.71 MB / 410.8 MB Notification: Performance of Backend: time 2.51e-07/0.2749, allocations: 2.375 kB / 0.5626 GB, free: 77.71 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.2753, allocations: 479.7 kB / 0.563 GB, free: 77.38 MB / 410.8 MB Notification: Performance of SimCode: time 0.007593/0.2828, allocations: 1.322 MB / 0.5643 GB, free: 76.45 MB / 410.8 MB Notification: Performance of Templates: time 0.006718/0.2896, allocations: 5.273 MB / 0.5695 GB, free: 75.43 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.754840523004532]