Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.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.001036/0.001036, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002192/0.003228, allocations: 443.8 kB / 10.3 MB, free: 400 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.00137/0.00137, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002911, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.057/1.057, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09609/1.153, allocations: 53.66 MB / 243.2 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.818/0.818, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03379/0.8517, allocations: 21.03 MB / 0.5431 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.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.539e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone): time 0.002554/0.00258, allocations: 2.949 MB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.007557, allocations: 6.77 MB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.00775, allocations: 7.938 kB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.00786, allocations: 39.58 kB / 0.554 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.008088, allocations: 123 kB / 0.5541 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.008297, allocations: 71.83 kB / 0.5542 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.00859, allocations: 393.9 kB / 0.5546 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.008726, allocations: 66.84 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.009, allocations: 246.5 kB / 0.5549 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.009189, allocations: 127.6 kB / 0.555 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.009221, allocations: 28 kB / 0.555 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.009256, allocations: 24 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.00929, allocations: 39.81 kB / 0.5551 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.009374, allocations: 95.81 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.009589, allocations: 199.2 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.009605, allocations: 0 / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.009607, allocations: 4 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.00962, allocations: 4 kB / 0.5554 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.0007453/0.01037, allocations: 0.6205 MB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.0104, allocations: 12.03 kB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.01046, allocations: 36.91 kB / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.01066, allocations: 197.5 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.01068, allocations: 12.75 kB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.01072, allocations: 32.33 kB / 0.5563 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.01094, allocations: 248 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01095, allocations: 1.625 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.01097, allocations: 12 kB / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.01098, allocations: 4 kB / 0.5565 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.01109, allocations: 137.8 kB / 0.5567 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.01168, allocations: 0.5077 MB / 0.5572 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.01188, allocations: 154.1 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.01194, allocations: 100.5 kB / 0.5574 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.01195, allocations: 7.938 kB / 0.5574 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.01214, allocations: 319.4 kB / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.01214, allocations: 0 / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008189/0.01296, allocations: 0.8053 MB / 0.5585 GB, free: 15.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.01302, allocations: 225.5 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.01314, allocations: 217 kB / 0.5589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01316, allocations: 37.69 kB / 0.559 GB, free: 15.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.01321, allocations: 145.2 kB / 0.5591 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.01326, allocations: 111 kB / 0.5592 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.01332, allocations: 74.14 kB / 0.5593 GB, free: 15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2739/0.2872, allocations: 349.9 kB / 0.5596 GB, free: 79.53 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.2874, allocations: 144 kB / 0.5597 GB, free: 79.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-05/0.2875, allocations: 248.7 kB / 0.56 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.2876, allocations: 342.4 kB / 0.5603 GB, free: 78.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2876, allocations: 4.438 kB / 0.5603 GB, free: 78.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000301/0.2879, allocations: 383.5 kB / 0.5607 GB, free: 78.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.288, allocations: 93.09 kB / 0.5608 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.288, allocations: 7.219 kB / 0.5608 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.288, allocations: 4.406 kB / 0.5608 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.2883, allocations: 107.9 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.2883, allocations: 10.91 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.2885, allocations: 23.38 kB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.2885, allocations: 10.86 kB / 0.5609 GB, free: 78.63 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.0001552/0.2886, allocations: 207 kB / 0.5611 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.2887, allocations: 33.58 kB / 0.5611 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.2887, allocations: 38.09 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2887, allocations: 4.594 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2887, allocations: 1.125 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2887, allocations: 2.219 kB / 0.5612 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.2892, allocations: 0.5216 MB / 0.5617 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2892, allocations: 0.75 kB / 0.5617 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2894, allocations: 66.88 kB / 0.5618 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.2894, allocations: 23.39 kB / 0.5618 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2894, allocations: 6.375 kB / 0.5618 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2895, allocations: 15.02 kB / 0.5618 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2895, allocations: 4.922 kB / 0.5618 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2895, allocations: 1.656 kB / 0.5618 GB, free: 78.13 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.2898, allocations: 0.5197 MB / 0.5623 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.2898, allocations: 9.953 kB / 0.5623 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2899, allocations: 14.86 kB / 0.5623 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.29, allocations: 28.92 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.29, allocations: 10.23 kB / 0.5624 GB, free: 77.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.971e-05/0.2901, allocations: 82.05 kB / 0.5625 GB, free: 77.79 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2901, allocations: 0.75 kB / 0.5625 GB, free: 77.79 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002165/0.2903, allocations: 89.72 kB / 0.5625 GB, free: 77.79 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.76e-05/0.2904, allocations: 100.4 kB / 0.5626 GB, free: 77.72 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.2907, allocations: 487.6 kB / 0.5631 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.2907, allocations: 2.156 kB / 0.5631 GB, free: 77.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.2908, allocations: 266.4 kB / 0.5634 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2911, allocations: 127.5 kB / 0.5635 GB, free: 77.16 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007998/0.2991, allocations: 0.7343 MB / 0.5642 GB, free: 76.79 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2992, allocations: 160.7 kB / 0.5644 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.2995, allocations: 153.9 kB / 0.5645 GB, free: 76.67 MB / 410.8 MB Notification: Performance of SimCode: time 1.674e-06/0.2995, allocations: 0.7188 kB / 0.5645 GB, free: 76.67 MB / 410.8 MB Notification: Performance of Templates: time 0.004642/0.3042, allocations: 4.022 MB / 0.5684 GB, free: 75.98 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5781130231916904]