Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.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.0008156/0.0008156, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002012, 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.0007466/0.0007466, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001703, 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.133, 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.7688/0.7688, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03006/0.7989, 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.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.095e-05, allocations: 14.19 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone): time 0.001892/0.001903, allocations: 2.502 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.005501, allocations: 6.692 MB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.005577, allocations: 3.938 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.015e-05/0.005637, allocations: 27.72 kB / 0.5536 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.005757, allocations: 79.33 kB / 0.5536 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.005884, allocations: 67.73 kB / 0.5537 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.006055, allocations: 266.6 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.006153, allocations: 34.55 kB / 0.554 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.006307, allocations: 172.2 kB / 0.5542 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.006447, allocations: 91.66 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.00647, allocations: 16 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.006492, allocations: 20 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.006515, allocations: 23.88 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.006569, allocations: 63.88 kB / 0.5544 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.006708, allocations: 139.5 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.006718, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006718, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.006728, allocations: 4 kB / 0.5545 GB, free: 20.34 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.0004865/0.007215, allocations: 0.4976 MB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.007242, allocations: 11.89 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.007281, allocations: 24.91 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.007413, allocations: 183 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.007429, allocations: 16.61 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.007452, allocations: 12.36 kB / 0.5552 GB, free: 19.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.007594, allocations: 159.5 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.007604, allocations: 3.938 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.007615, allocations: 8 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.007619, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.007692, allocations: 76.7 kB / 0.5555 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.00804, allocations: 369 kB / 0.5558 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.008191, allocations: 116 kB / 0.5559 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.008226, allocations: 58.55 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.008236, allocations: 4 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.008362, allocations: 195.3 kB / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.008364, allocations: 0 / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005122/0.008876, allocations: 0.5094 MB / 0.5567 GB, free: 17.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.008905, allocations: 162.2 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.008993, allocations: 206 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.009005, allocations: 33.7 kB / 0.5571 GB, free: 17.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.009037, allocations: 116.4 kB / 0.5572 GB, free: 17.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.009068, allocations: 71.45 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.009115, allocations: 51.19 kB / 0.5573 GB, free: 17.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.00915, allocations: 338.8 kB / 0.5576 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.009197, allocations: 96.94 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.009258, allocations: 173.3 kB / 0.5579 GB, free: 16.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.009352, allocations: 215.7 kB / 0.5581 GB, free: 16.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009354, allocations: 4 kB / 0.5581 GB, free: 16.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001384/0.009492, allocations: 266.4 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.00952, allocations: 63.39 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009525, allocations: 4 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.009534, allocations: 0 / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.00968, allocations: 71.89 kB / 0.5585 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.009685, allocations: 4 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.009763, allocations: 15.98 kB / 0.5585 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.009773, allocations: 7.938 kB / 0.5585 GB, free: 15.82 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 9.189e-05/0.009865, allocations: 185.6 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.009883, allocations: 19.98 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.009911, allocations: 25.95 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009915, allocations: 0 / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009915, allocations: 0 / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.009935, allocations: 19.86 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.009945, allocations: 7.938 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.009969, allocations: 7.984 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.01002, allocations: 12 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.01006, allocations: 23.95 kB / 0.5588 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001732/0.01024, allocations: 264.1 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001867/0.01042, allocations: 426.5 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2681/0.2785, allocations: 79.77 kB / 0.5595 GB, free: 79.57 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001084/0.2786, allocations: 57.36 kB / 0.5596 GB, free: 79.56 MB / 410.8 MB Notification: Performance of Backend: time 2.21e-07/0.2786, allocations: 0 / 0.5596 GB, free: 79.56 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.2792, allocations: 341.3 kB / 0.5599 GB, free: 79.32 MB / 410.8 MB Notification: Performance of SimCode: time 0.007608/0.2868, allocations: 1.112 MB / 0.561 GB, free: 78.51 MB / 410.8 MB Notification: Performance of Templates: time 0.007297/0.2941, allocations: 3.851 MB / 0.5647 GB, free: 78.36 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6810818603262305]