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.000589/0.000589, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009786/0.001568, 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.0006587/0.0006587, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008401/0.001499, 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.058/1.058, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09231/1.15, allocations: 53.67 MB / 243.3 MB, free: 15.58 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.8585/0.8585, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03193/0.8905, allocations: 21.05 MB / 0.5431 GB, free: 31.8 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.272e-06/1.272e-06, allocations: 0 / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.356e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone): time 0.002911/0.002934, allocations: 2.958 MB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.01687, allocations: 6.79 MB / 0.5541 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.017, allocations: 4 kB / 0.5541 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.234e-05/0.01708, allocations: 39.58 kB / 0.5541 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.02032, allocations: 123 kB / 0.5542 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.02049, allocations: 71.83 kB / 0.5543 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.02078, allocations: 393.9 kB / 0.5547 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.02091, allocations: 62.84 kB / 0.5547 GB, free: 19.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.02117, allocations: 254.5 kB / 0.555 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.02136, allocations: 123.6 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.0214, allocations: 24 kB / 0.5551 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.02144, allocations: 24 kB / 0.5551 GB, free: 19.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.02147, allocations: 39.81 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.02157, allocations: 95.81 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.0218, allocations: 199.3 kB / 0.5555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.02181, allocations: 3.938 kB / 0.5555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.02181, allocations: 4 kB / 0.5555 GB, free: 19.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.02182, allocations: 0 / 0.5555 GB, free: 19.16 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.0006681/0.02249, allocations: 0.6282 MB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.02252, allocations: 8.031 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.02258, allocations: 36.91 kB / 0.5561 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.02276, allocations: 189.5 kB / 0.5563 GB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.02279, allocations: 20.75 kB / 0.5563 GB, free: 18.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.02283, allocations: 24.33 kB / 0.5563 GB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.02306, allocations: 240.7 kB / 0.5566 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.02307, allocations: 7.938 kB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.02309, allocations: 8 kB / 0.5566 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.02309, allocations: 8 kB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.0238, allocations: 138.5 kB / 0.5567 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.02445, allocations: 0.5152 MB / 0.5572 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.02464, allocations: 161.2 kB / 0.5574 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.0247, allocations: 100.5 kB / 0.5575 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.02471, allocations: 7.938 kB / 0.5575 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.02491, allocations: 315.4 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.02491, allocations: 0 / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008108/0.02572, allocations: 0.8132 MB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.02577, allocations: 277 kB / 0.5589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.0259, allocations: 225 kB / 0.5591 GB, free: 15.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.02592, allocations: 37.7 kB / 0.5591 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.02597, allocations: 141.3 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2876/0.3136, allocations: 109.7 kB / 0.5593 GB, free: 79.73 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.3137, allocations: 76.05 kB / 0.5594 GB, free: 79.71 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.3137, allocations: 346.4 kB / 0.5597 GB, free: 79.4 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3139, allocations: 145.1 kB / 0.5599 GB, free: 79.3 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.314, allocations: 250.8 kB / 0.5601 GB, free: 79.07 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3142, allocations: 340.9 kB / 0.5604 GB, free: 78.82 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3142, allocations: 1.562 kB / 0.5605 GB, free: 78.82 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003453/0.3145, allocations: 387.9 kB / 0.5608 GB, free: 78.6 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.3146, allocations: 94.86 kB / 0.5609 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3146, allocations: 4.25 kB / 0.5609 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3146, allocations: 5.938 kB / 0.5609 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.3149, allocations: 110.2 kB / 0.561 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3149, allocations: 5.781 kB / 0.561 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3151, allocations: 17.23 kB / 0.561 GB, free: 78.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3151, allocations: 14.95 kB / 0.5611 GB, free: 78.5 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.0001604/0.3152, allocations: 210.4 kB / 0.5613 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.3153, allocations: 35.56 kB / 0.5613 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.3153, allocations: 35.19 kB / 0.5613 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3153, allocations: 1.078 kB / 0.5613 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3153, allocations: 2.875 kB / 0.5613 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.3154, allocations: 23.58 kB / 0.5614 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3154, allocations: 14.61 kB / 0.5614 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.3154, allocations: 11.45 kB / 0.5614 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.3155, allocations: 16.81 kB / 0.5614 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.3156, allocations: 28.16 kB / 0.5614 GB, free: 78.32 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003702/0.3159, allocations: 392 kB / 0.5618 GB, free: 78.08 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004344/0.3164, allocations: 0.5917 MB / 0.5624 GB, free: 77.68 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001123/0.3165, allocations: 136.6 kB / 0.5625 GB, free: 77.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.23e-05/0.3166, allocations: 79.62 kB / 0.5626 GB, free: 77.59 MB / 410.8 MB Notification: Performance of Backend: time 7.52e-07/0.3166, allocations: 2.75 kB / 0.5626 GB, free: 77.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.317, allocations: 479.1 kB / 0.563 GB, free: 77.26 MB / 410.8 MB Notification: Performance of SimCode: time 0.0088/0.3258, allocations: 1.327 MB / 0.5643 GB, free: 76.32 MB / 410.8 MB Notification: Performance of Templates: time 0.00784/0.3337, allocations: 5.259 MB / 0.5695 GB, free: 75.29 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.840860353782773]