Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.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.001051/0.001051, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002394, 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.001102/0.001102, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002463, 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 0.987/0.987, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09161/1.079, allocations: 53.68 MB / 243.3 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.693/0.693, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02606/0.7191, allocations: 21.04 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.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.341e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine): time 0.005851/0.005864, allocations: 2.964 MB / 0.5475 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008254/0.01412, allocations: 6.778 MB / 0.5541 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.01423, allocations: 3.938 kB / 0.5541 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.649e-05/0.0143, allocations: 43.62 kB / 0.5541 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.0145, allocations: 123 kB / 0.5542 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.01467, allocations: 75.78 kB / 0.5543 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.01494, allocations: 393.9 kB / 0.5547 GB, free: 19.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.01508, allocations: 62.84 kB / 0.5547 GB, free: 19.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.01532, allocations: 246.5 kB / 0.555 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.01551, allocations: 127.6 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.01555, allocations: 24 kB / 0.5551 GB, free: 19.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.552e-05/0.01558, allocations: 28 kB / 0.5551 GB, free: 19.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.01562, allocations: 39.81 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.01571, allocations: 91.81 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.01591, allocations: 199.3 kB / 0.5555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.01592, allocations: 0 / 0.5555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01592, allocations: 0 / 0.5555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.01594, allocations: 0 / 0.5555 GB, free: 19.17 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.003745/0.01968, allocations: 0.6321 MB / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.01972, allocations: 19.84 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.01977, allocations: 36.91 kB / 0.5561 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.01996, allocations: 197.5 kB / 0.5563 GB, free: 18.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.01998, allocations: 12.75 kB / 0.5563 GB, free: 18.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.02002, allocations: 32.31 kB / 0.5564 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.02024, allocations: 236.7 kB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.02025, allocations: 0 / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.02026, allocations: 12 kB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.02027, allocations: 4 kB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.0204, allocations: 146.5 kB / 0.5567 GB, free: 17.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.021, allocations: 0.5113 MB / 0.5572 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.02118, allocations: 150.2 kB / 0.5574 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.02124, allocations: 112.5 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.02125, allocations: 7.938 kB / 0.5575 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.02145, allocations: 315.3 kB / 0.5578 GB, free: 16.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.02145, allocations: 0 / 0.5578 GB, free: 16.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007679/0.02222, allocations: 0.8093 MB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.02226, allocations: 277 kB / 0.5589 GB, free: 15.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.0254, allocations: 229 kB / 0.5591 GB, free: 15.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.02542, allocations: 37.69 kB / 0.5591 GB, free: 15.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.02546, allocations: 133.3 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.32/0.3455, allocations: 111.2 kB / 0.5593 GB, free: 79.46 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3456, allocations: 76.67 kB / 0.5594 GB, free: 79.45 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.3457, allocations: 347.9 kB / 0.5598 GB, free: 79.14 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3458, allocations: 145.7 kB / 0.5599 GB, free: 79.04 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3459, allocations: 251.5 kB / 0.5601 GB, free: 78.81 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.3462, allocations: 346.5 kB / 0.5605 GB, free: 78.55 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3462, allocations: 1.25 kB / 0.5605 GB, free: 78.55 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003877/0.3465, allocations: 390.8 kB / 0.5608 GB, free: 78.33 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.3466, allocations: 88.2 kB / 0.5609 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3466, allocations: 4.344 kB / 0.5609 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3466, allocations: 5.156 kB / 0.5609 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.347, allocations: 107 kB / 0.561 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.347, allocations: 7.438 kB / 0.561 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.3472, allocations: 24.59 kB / 0.5611 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3472, allocations: 14.62 kB / 0.5611 GB, free: 78.24 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.0001791/0.3474, allocations: 206.1 kB / 0.5613 GB, free: 78.06 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.3474, allocations: 37.55 kB / 0.5613 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.3475, allocations: 32.05 kB / 0.5613 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3475, allocations: 3 kB / 0.5613 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3475, allocations: 3 kB / 0.5613 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.3475, allocations: 25.39 kB / 0.5614 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.3475, allocations: 13.98 kB / 0.5614 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.3476, allocations: 10.44 kB / 0.5614 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3477, allocations: 15.33 kB / 0.5614 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.3478, allocations: 26.02 kB / 0.5614 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004239/0.3482, allocations: 391.4 kB / 0.5618 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000462/0.3487, allocations: 0.5943 MB / 0.5624 GB, free: 77.41 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001431/0.3488, allocations: 138.5 kB / 0.5625 GB, free: 77.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3489, allocations: 79.61 kB / 0.5626 GB, free: 77.33 MB / 410.8 MB Notification: Performance of Backend: time 3.6e-07/0.3489, allocations: 0 / 0.5626 GB, free: 77.33 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005679/0.3495, allocations: 481.7 kB / 0.5631 GB, free: 76.99 MB / 410.8 MB Notification: Performance of SimCode: time 0.01684/0.3663, allocations: 1.326 MB / 0.5643 GB, free: 76.06 MB / 410.8 MB Notification: Performance of Templates: time 0.01862/0.3849, allocations: 5.265 MB / 0.5695 GB, free: 75.01 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.851360458880663]