Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_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.001124/0.001124, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001818/0.002943, 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.001105/0.001105, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002529, 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.148/1.148, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.253, 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.8328/0.8328, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04807/0.8809, 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.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.085e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference): time 0.003669/0.00369, allocations: 2.953 MB / 0.5475 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006207/0.009896, allocations: 6.767 MB / 0.5541 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.01001, allocations: 8 kB / 0.5541 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.689e-05/0.01009, allocations: 43.56 kB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.01026, allocations: 123 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.01042, allocations: 71.78 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.01066, allocations: 393.9 kB / 0.5547 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.01079, allocations: 62.86 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.01099, allocations: 246.6 kB / 0.555 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.01117, allocations: 131.6 kB / 0.5551 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.0112, allocations: 24 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.786e-05/0.01123, allocations: 24 kB / 0.5552 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.01126, allocations: 39.81 kB / 0.5552 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.01134, allocations: 99.81 kB / 0.5553 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.01153, allocations: 195.2 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.01154, allocations: 3.984 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01155, allocations: 4 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.01156, 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.0006441/0.01221, allocations: 0.6243 MB / 0.5561 GB, free: 18.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.01225, allocations: 15.84 kB / 0.5561 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.01231, allocations: 44.89 kB / 0.5561 GB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.01249, allocations: 193.5 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.01251, allocations: 16.69 kB / 0.5563 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.01255, allocations: 28.33 kB / 0.5564 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.01277, allocations: 236.7 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.01279, allocations: 11.97 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.01281, allocations: 8 kB / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.01281, allocations: 4 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.01293, allocations: 134.6 kB / 0.5568 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.01351, allocations: 0.5152 MB / 0.5573 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.01369, allocations: 154.1 kB / 0.5574 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.01374, allocations: 108.5 kB / 0.5575 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.01375, allocations: 7.938 kB / 0.5575 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.01394, allocations: 315.3 kB / 0.5578 GB, free: 16.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.462e-06/0.01394, allocations: 0 / 0.5578 GB, free: 16.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007279/0.01467, allocations: 0.8128 MB / 0.5586 GB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.01472, allocations: 277 kB / 0.5589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.01482, allocations: 229 kB / 0.5591 GB, free: 15.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.01484, allocations: 33.7 kB / 0.5591 GB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.01488, allocations: 133.3 kB / 0.5593 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.01493, allocations: 123 kB / 0.5594 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.01498, allocations: 74.16 kB / 0.5594 GB, free: 14.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2629/0.2779, allocations: 344.6 kB / 0.5598 GB, free: 79.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2781, allocations: 142.6 kB / 0.5599 GB, free: 79.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2782, allocations: 246.9 kB / 0.5601 GB, free: 79.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.2784, allocations: 345.1 kB / 0.5605 GB, free: 78.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2784, allocations: 2.812 kB / 0.5605 GB, free: 78.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003353/0.2788, allocations: 387 kB / 0.5608 GB, free: 78.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.2788, allocations: 91.89 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2788, allocations: 3.219 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2788, allocations: 5.281 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.2792, allocations: 108.9 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2792, allocations: 7.297 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.2794, allocations: 22.92 kB / 0.5611 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.2794, allocations: 11.88 kB / 0.5611 GB, free: 78.66 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.0002068/0.2796, allocations: 212.4 kB / 0.5613 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.2796, allocations: 33.66 kB / 0.5613 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.2797, allocations: 34.56 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2797, allocations: 3.875 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2797, allocations: 0 / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.2798, allocations: 25.34 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2798, allocations: 12.92 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.2798, allocations: 10.16 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.2799, allocations: 15.22 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.28, allocations: 25.8 kB / 0.5614 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004125/0.2804, allocations: 390.5 kB / 0.5618 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000462/0.2809, allocations: 0.5943 MB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001483/0.281, allocations: 138.8 kB / 0.5625 GB, free: 77.76 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001135/0.2811, allocations: 80.34 kB / 0.5626 GB, free: 77.75 MB / 410.8 MB Notification: Performance of Backend: time 6.01e-07/0.2811, allocations: 1.031 kB / 0.5626 GB, free: 77.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.2816, allocations: 484.7 kB / 0.5631 GB, free: 77.41 MB / 410.8 MB Notification: Performance of SimCode: time 0.008064/0.2897, allocations: 1.318 MB / 0.5643 GB, free: 76.48 MB / 410.8 MB Notification: Performance of Templates: time 0.009636/0.2993, allocations: 5.259 MB / 0.5695 GB, free: 75.47 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.089912734925747]