Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.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.00112/0.00112, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009517/0.002071, 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.0007333/0.0007333, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009875/0.001721, 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.9754/0.9754, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09808/1.073, 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.8258/0.8258, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03917/0.865, 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.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.491e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam): time 0.004191/0.004216, allocations: 2.965 MB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.01023, allocations: 6.782 MB / 0.5541 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.01034, allocations: 4 kB / 0.5541 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.848e-05/0.01043, allocations: 39.58 kB / 0.5542 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.01061, allocations: 123 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.01076, allocations: 79.78 kB / 0.5544 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.011, allocations: 393.9 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.01113, allocations: 58.84 kB / 0.5548 GB, free: 20.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.01134, allocations: 242.6 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.01151, allocations: 131.6 kB / 0.5551 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.01155, allocations: 24 kB / 0.5552 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.717e-05/0.01157, allocations: 27.94 kB / 0.5552 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.0116, allocations: 39.81 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.01168, allocations: 95.81 kB / 0.5553 GB, free: 19.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.01187, allocations: 203.3 kB / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.01188, allocations: 0 / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01188, allocations: 0 / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01189, allocations: 0 / 0.5555 GB, free: 19.31 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.0006208/0.01251, allocations: 0.6321 MB / 0.5561 GB, free: 18.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.01255, allocations: 11.89 kB / 0.5561 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.0126, allocations: 36.91 kB / 0.5562 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.01277, allocations: 197.5 kB / 0.5564 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.0128, allocations: 16.75 kB / 0.5564 GB, free: 18.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.01283, allocations: 24.33 kB / 0.5564 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.01303, allocations: 240.7 kB / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.01304, allocations: 4 kB / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01305, allocations: 4 kB / 0.5566 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.01306, allocations: 4 kB / 0.5566 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.01317, allocations: 138.5 kB / 0.5568 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.01373, allocations: 0.523 MB / 0.5573 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.0139, allocations: 161.3 kB / 0.5574 GB, free: 17.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.01395, allocations: 96.48 kB / 0.5575 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.01396, allocations: 7.938 kB / 0.5575 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.01414, allocations: 319.3 kB / 0.5578 GB, free: 16.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.01414, allocations: 4 kB / 0.5579 GB, free: 16.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007128/0.01485, allocations: 0.8093 MB / 0.5586 GB, free: 15.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.01489, allocations: 273 kB / 0.5589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.015, allocations: 229 kB / 0.5591 GB, free: 15.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01501, allocations: 37.7 kB / 0.5592 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.01505, allocations: 137.3 kB / 0.5593 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.0151, allocations: 119 kB / 0.5594 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2752/0.2903, allocations: 67.81 kB / 0.5595 GB, free: 79.88 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.2904, allocations: 344.6 kB / 0.5598 GB, free: 79.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2905, allocations: 145 kB / 0.5599 GB, free: 79.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2906, allocations: 252.1 kB / 0.5602 GB, free: 79.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.2908, allocations: 346.9 kB / 0.5605 GB, free: 78.98 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2908, allocations: 0 / 0.5605 GB, free: 78.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003084/0.2911, allocations: 385.7 kB / 0.5609 GB, free: 78.76 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.2912, allocations: 91.69 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2912, allocations: 2.75 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2912, allocations: 6.094 kB / 0.561 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.2915, allocations: 111.8 kB / 0.5611 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2915, allocations: 6.328 kB / 0.5611 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.2916, allocations: 18.66 kB / 0.5611 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2916, allocations: 18.97 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.0001571/0.2918, allocations: 206.6 kB / 0.5613 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.2918, allocations: 34.92 kB / 0.5613 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.2919, allocations: 35.08 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2919, allocations: 1.312 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2919, allocations: 1.766 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.2919, allocations: 30.02 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2919, allocations: 13.08 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.292, allocations: 11.03 kB / 0.5614 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.292, allocations: 17.02 kB / 0.5615 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.2921, allocations: 26.08 kB / 0.5615 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003258/0.2924, allocations: 383.9 kB / 0.5618 GB, free: 78.24 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003547/0.2928, allocations: 0.5967 MB / 0.5624 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001035/0.2929, allocations: 137.9 kB / 0.5626 GB, free: 77.77 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.293, allocations: 81.28 kB / 0.5626 GB, free: 77.75 MB / 410.8 MB Notification: Performance of Backend: time 3.9e-07/0.293, allocations: 6.344 kB / 0.5626 GB, free: 77.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.2934, allocations: 476.6 kB / 0.5631 GB, free: 77.42 MB / 410.8 MB Notification: Performance of SimCode: time 0.007632/0.301, allocations: 1.318 MB / 0.5644 GB, free: 76.48 MB / 410.8 MB Notification: Performance of Templates: time 0.007614/0.3086, allocations: 5.258 MB / 0.5695 GB, free: 75.48 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD14_Remimazolam.Remimazolam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.763123469427228]